summaryrefslogtreecommitdiff
path: root/ufs-fsck/pass1.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-07 02:14:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-07 02:14:07 +0000
commit5b812e7721d068e677a534353e7ab3b3c1f06dc4 (patch)
treedc4e7f5cf721b03b4b3e807a52eff646f0de38d0 /ufs-fsck/pass1.c
parent95e9e7727f9342f724b7a936f1053e6f415a3679 (diff)
(pass1): Remove assignment from if test.
Diffstat (limited to 'ufs-fsck/pass1.c')
-rw-r--r--ufs-fsck/pass1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ufs-fsck/pass1.c b/ufs-fsck/pass1.c
index 621d40ec..c97ffc33 100644
--- a/ufs-fsck/pass1.c
+++ b/ufs-fsck/pass1.c
@@ -1,5 +1,5 @@
/* Pass one of GNU fsck -- count blocks and verify inodes
- 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.
@@ -63,7 +63,8 @@ pass1 ()
int wasbad = 0;
/* Check to see if this block is in range */
- if (outofrange = check_range (bno, nfrags))
+ outofrange = check_range (bno, nfrags);
+ if (outofrange)
{
blkerror = 1;
wasbad = 1;