summaryrefslogtreecommitdiff
path: root/sbin/growfs/debug.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
commit6b46236c83f9aa5b9cd59b466eeba348ee23825a (patch)
treeef7eca8601ed03d00b5a9a53b3355f66ed478486 /sbin/growfs/debug.c
parentcc20036a151815396b8c4285e8b3b56f0172f1d5 (diff)
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out. ok otto beck others
Diffstat (limited to 'sbin/growfs/debug.c')
-rw-r--r--sbin/growfs/debug.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/growfs/debug.c b/sbin/growfs/debug.c
index b189498b65e..84dba2d7fae 100644
--- a/sbin/growfs/debug.c
+++ b/sbin/growfs/debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug.c,v 1.8 2009/10/27 23:59:33 deraadt Exp $ */
+/* $OpenBSD: debug.c,v 1.9 2013/06/11 16:42:04 deraadt Exp $ */
/*
* Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz
* Copyright (c) 1980, 1989, 1993 The Regents of the University of California.
@@ -799,24 +799,24 @@ dbg_dump_ufs2_ino(struct fs *sb, const char *comment, struct ufs2_dinode *ino)
remaining_blocks = howmany(ino->di_size, sb->fs_bsize); /* XXX ts - +1? */
for (ictr = 0; ictr < MIN(NDADDR, remaining_blocks); ictr++) {
- fprintf(dbg_log, "db daddr64_t[%x] 0x%16jx\n", ictr,
+ fprintf(dbg_log, "db daddr_t[%x] 0x%16jx\n", ictr,
ino->di_db[ictr]);
}
remaining_blocks -= NDADDR;
if (remaining_blocks > 0) {
- fprintf(dbg_log, "ib daddr64_t[0] 0x%16jx\n",
+ fprintf(dbg_log, "ib daddr_t[0] 0x%16jx\n",
ino->di_ib[0]);
}
- remaining_blocks -= howmany(sb->fs_bsize, sizeof(daddr64_t));
+ remaining_blocks -= howmany(sb->fs_bsize, sizeof(daddr_t));
if (remaining_blocks > 0) {
- fprintf(dbg_log, "ib daddr64_t[1] 0x%16jx\n",
+ fprintf(dbg_log, "ib daddr_t[1] 0x%16jx\n",
ino->di_ib[1]);
}
#define SQUARE(a) ((a)*(a))
- remaining_blocks -= SQUARE(howmany(sb->fs_bsize, sizeof(daddr64_t)));
+ remaining_blocks -= SQUARE(howmany(sb->fs_bsize, sizeof(daddr_t)));
#undef SQUARE
if (remaining_blocks > 0) {
- fprintf(dbg_log, "ib daddr64_t[2] 0x%16jx\n",
+ fprintf(dbg_log, "ib daddr_t[2] 0x%16jx\n",
ino->di_ib[2]);
}