summaryrefslogtreecommitdiff
path: root/ufs-fsck
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-11 21:43:05 +0000
committerRoland McGrath <roland@gnu.org>2002-06-11 21:43:05 +0000
commit552d7e14ae5c9529c12ebb62aa22a045869b5313 (patch)
tree3a51558ee1c440a99bca5274e0933c2de0695779 /ufs-fsck
parente907fb30c965232755c92eea0d14b000c2fbaf45 (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.
Diffstat (limited to 'ufs-fsck')
-rw-r--r--ufs-fsck/pass1b.c10
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 ()
}
}
}
-
-