[BACK]Return to inode.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sbin / fsck_lfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sbin/fsck_lfs/inode.c between version 1.29 and 1.30

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);
Line 551  void
Line 551  void
 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);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

CVSweb <webmaster@jp.NetBSD.org>