version 1.29, 2005/06/27 02:50:01 |
version 1.30, 2005/08/19 02:07:19 |
Line 263 iblock(struct inodesc *idesc, long ileve |
|
Line 263 iblock(struct inodesc *idesc, long ileve |
|
for (ap = ((ufs_daddr_t *) bp->b_data) + nif; ap < aplim; ap++) { |
for (ap = ((ufs_daddr_t *) bp->b_data) + nif; ap < aplim; ap++) { |
if (*ap == 0) |
if (*ap == 0) |
continue; |
continue; |
(void) sprintf(buf, "PARTIALLY TRUNCATED INODE I=%u", |
(void) sprintf(buf, "PARTIALLY TRUNCATED INODE I=%llu", |
idesc->id_number); |
(unsigned long long)idesc->id_number); |
if (dofix(idesc, buf)) { |
if (dofix(idesc, buf)) { |
*ap = 0; |
*ap = 0; |
++diddirty; |
++diddirty; |
Line 404 getinoinfo(ino_t inumber) |
|
Line 404 getinoinfo(ino_t inumber) |
|
continue; |
continue; |
return (inp); |
return (inp); |
} |
} |
err(8, "cannot find inode %d\n", inumber); |
err(8, "cannot find inode %llu\n", (unsigned long long)inumber); |
return ((struct inoinfo *) 0); |
return ((struct inoinfo *) 0); |
} |
} |
|
|
Line 525 pinode(ino_t ino) |
|
Line 525 pinode(ino_t ino) |
|
struct passwd *pw; |
struct passwd *pw; |
time_t t; |
time_t t; |
|
|
printf(" I=%u ", ino); |
printf(" I=%llu ", (unsigned long long)ino); |
if (ino < ROOTINO || ino >= maxino) |
if (ino < ROOTINO || ino >= maxino) |
return; |
return; |
dp = ginode(ino); |
dp = ginode(ino); |
|
|
blkerror(ino_t ino, const char *type, daddr_t blk) |
blkerror(ino_t ino, const char *type, daddr_t blk) |
{ |
{ |
|
|
pfatal("%lld %s I=%u", (long long) blk, type, ino); |
pfatal("%lld %s I=%llu", (long long) blk, type, |
|
(unsigned long long)ino); |
printf("\n"); |
printf("\n"); |
if (exitonfail) |
if (exitonfail) |
exit(1); |
exit(1); |