summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 15:51:08 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 15:51:08 +0000
commit7605778aa6ae9594482df2001af816e568eb9745 (patch)
tree2e8bff1d4d7f7c1512236f79733d8b7a50e78579
parentc727e27413678eeadbc1a33df0c884a6e7775a9a (diff)
(fetch_indir_spec): Remove assignment from if test.
-rw-r--r--ufs/bmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ufs/bmap.c b/ufs/bmap.c
index 0b3574b8..11756a66 100644
--- a/ufs/bmap.c
+++ b/ufs/bmap.c
@@ -1,5 +1,5 @@
/* Interpretation of indirect block structure
- 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.
@@ -32,7 +32,8 @@ fetch_indir_spec (struct node *np, volatile daddr_t lbn,
error_t err;
daddr_t *siblock;
- if (err = diskfs_catch_exception ())
+ err = diskfs_catch_exception ();
+ if (err)
return err;
indirs[0].offset = -2;