diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-11 21:43:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-11 21:43:05 +0000 |
commit | 4dde66e67d59b37f0af66be9289d9620d3b725a7 (patch) | |
tree | 05ace6b82f50440294f3d9f58871a841563e61ba | |
parent | 9bad1d3b6da8a2f54d0443d643e29f98a434d31f (diff) |
2002-06-08 Roland McGrath <roland@frob.com>
* dir.c, pass1.c, pass1b.c, pass2.c: Use %Ld for ino_t values.
* utilities.c: Likewise.
-rw-r--r-- | ufs-fsck/pass1b.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ufs-fsck/pass1b.c b/ufs-fsck/pass1b.c index 0cf50a17..4da86974 100644 --- a/ufs-fsck/pass1b.c +++ b/ufs-fsck/pass1b.c @@ -1,5 +1,5 @@ /* Pass 1b of fsck -- scan inodes for references to duplicate blocks - Copyright (C) 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1994,96,2002 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -31,7 +31,7 @@ pass1b () struct dups *duphead = duplist; /* Check each block of file DP; if the block is in the dup block - list then add it to the dup block list under this file. + list then add it to the dup block list under this file. Return RET_GOOD or RET_BAD if the block is good or bad, respectively. */ int @@ -39,7 +39,7 @@ pass1b () { struct dups *dlp; int hadbad = 0; - + for (; nfrags > 0; bno++, nfrags--) { if (check_range (bno, 1)) @@ -76,7 +76,7 @@ pass1b () allblock_iterate (dp, checkblock); if (dupblk) { - problem (1, "I=%d HAS %d DUPLICATE BLOCKS", number, dupblk); + problem (1, "I=%Ld HAS %d DUPLICATE BLOCKS", number, dupblk); if (reply ("CLEAR")) { clear_inode (number, dp); @@ -88,5 +88,3 @@ pass1b () } } } - - |