diff options
-rw-r--r-- | ufs-fsck/utilities.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ufs-fsck/utilities.c b/ufs-fsck/utilities.c index e8475506..d5ff8c1b 100644 --- a/ufs-fsck/utilities.c +++ b/ufs-fsck/utilities.c @@ -1,5 +1,5 @@ /* Miscellaneous functions for fsck - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 1995 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -256,7 +256,8 @@ pinode (ino_t ino) getinode (ino, &dino); printf (" OWNER="); - if (pw = getpwuid (dino.di_uid)) + pw = getpwuid (dino.di_uid); + if (pw) printf ("%s ", pw->pw_name); else printf ("%lu ", dino.di_uid); |