summaryrefslogtreecommitdiff
path: root/ufs/bmap.c
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
commitbea527e8a44111b401db9504293724076a90277b (patch)
treedaae9b6456ca379a1e3cb2a7c34543dbf1720b70 /ufs/bmap.c
parent101b407d7695abb2252209c88dfd557c13082837 (diff)
(fetch_indir_spec): Remove assignment from if test.
Diffstat (limited to 'ufs/bmap.c')
-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;