diff options
| author | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:15:51 +0000 |
|---|---|---|
| committer | Michael I. Bushnell <mib@gnu.org> | 1995-07-07 02:15:51 +0000 |
| commit | a0de102fbdf454a7b1db676c2cbef1eba0ba92c3 (patch) | |
| tree | 399d785464137e0c90af5b96cddb4925fdaec69a /ufs-fsck | |
| parent | ff4253e67fc207b244cab96b6e08886900525bb0 (diff) | |
(pinode): Remove assignment from if test.
Diffstat (limited to 'ufs-fsck')
| -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); |
