From 3efc309a18a5b7ba32157da2e8fb005fafbbd5d5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 7 Jul 1995 02:15:51 +0000 Subject: (pinode): Remove assignment from if test. --- ufs-fsck/utilities.c | 5 +++-- 1 file 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); -- cgit v1.2.3