debug.c (163844) | debug.c (215704) |
---|---|
1/* 2 * Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz 3 * Copyright (c) 1980, 1989, 1993 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Christoph Herrmann and Thomas-Henning von Kamptz, Munich and Frankfurt. 8 * --- 27 unchanged lines hidden (view full) --- 36 * SUCH DAMAGE. 37 * 38 * $TSHeader: src/sbin/growfs/debug.c,v 1.3 2000/12/12 19:31:00 tomsoft Exp $ 39 * 40 */ 41 42#ifndef lint 43static const char rcsid[] = | 1/* 2 * Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz 3 * Copyright (c) 1980, 1989, 1993 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Christoph Herrmann and Thomas-Henning von Kamptz, Munich and Frankfurt. 8 * --- 27 unchanged lines hidden (view full) --- 36 * SUCH DAMAGE. 37 * 38 * $TSHeader: src/sbin/growfs/debug.c,v 1.3 2000/12/12 19:31:00 tomsoft Exp $ 39 * 40 */ 41 42#ifndef lint 43static const char rcsid[] = |
44 "$FreeBSD: head/sbin/growfs/debug.c 163844 2006-10-31 22:02:24Z pjd $"; | 44 "$FreeBSD: head/sbin/growfs/debug.c 215704 2010-11-22 20:10:48Z brucec $"; |
45#endif /* not lint */ 46 47/* ********************************************************** INCLUDES ***** */ 48#include <sys/param.h> 49 50#include <limits.h> 51#include <stdio.h> 52#include <string.h> --- 223 unchanged lines hidden (view full) --- 276/* fprintf(dbg_log, " int32_t\n", sb->*fs_maxcluster);*/ 277 fprintf(dbg_log, "old_cpc int32_t 0x%08x\n", 278 sb->fs_old_cpc); 279/* 280 * int16_t fs_opostbl[16][8] - is dumped when used in dbg_dump_sptbl 281 */ 282 fprintf(dbg_log, "maxbsize int32_t 0x%08x\n", 283 sb->fs_maxbsize); | 45#endif /* not lint */ 46 47/* ********************************************************** INCLUDES ***** */ 48#include <sys/param.h> 49 50#include <limits.h> 51#include <stdio.h> 52#include <string.h> --- 223 unchanged lines hidden (view full) --- 276/* fprintf(dbg_log, " int32_t\n", sb->*fs_maxcluster);*/ 277 fprintf(dbg_log, "old_cpc int32_t 0x%08x\n", 278 sb->fs_old_cpc); 279/* 280 * int16_t fs_opostbl[16][8] - is dumped when used in dbg_dump_sptbl 281 */ 282 fprintf(dbg_log, "maxbsize int32_t 0x%08x\n", 283 sb->fs_maxbsize); |
284 fprintf(dbg_log, "unrefs int64_t 0x%08x\n", | 284 fprintf(dbg_log, "unrefs int64_t 0x%08jx\n", |
285 sb->fs_unrefs); 286 fprintf(dbg_log, "sblockloc int64_t 0x%08x%08x\n", 287 ((unsigned int *)&(sb->fs_sblockloc))[1], 288 ((unsigned int *)&(sb->fs_sblockloc))[0]); 289 290 dbg_dump_csum_total("internal cstotal", &sb->fs_cstotal); 291 292 fprintf(dbg_log, "time ufs_time_t %10u\n", --- 585 unchanged lines hidden --- | 285 sb->fs_unrefs); 286 fprintf(dbg_log, "sblockloc int64_t 0x%08x%08x\n", 287 ((unsigned int *)&(sb->fs_sblockloc))[1], 288 ((unsigned int *)&(sb->fs_sblockloc))[0]); 289 290 dbg_dump_csum_total("internal cstotal", &sb->fs_cstotal); 291 292 fprintf(dbg_log, "time ufs_time_t %10u\n", --- 585 unchanged lines hidden --- |