diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 15:50:14 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 15:50:14 +0000 |
commit | 101b407d7695abb2252209c88dfd557c13082837 (patch) | |
tree | 2dcf91dd4fb8e0d88c4247acff452ed515cc8936 | |
parent | 42bd2716ce2507472bd009077632e196b13afbc2 (diff) |
(diskfs_truncate): Remove assignment from if test.
-rw-r--r-- | ufs/sizes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c index ef7666b1..8657ce13 100644 --- a/ufs/sizes.c +++ b/ufs/sizes.c @@ -58,7 +58,8 @@ diskfs_truncate (struct node *np, { error_t err; - if (err = diskfs_catch_exception ()) + err = diskfs_catch_exception (); + if (err) return err; bzero (di->di_shortlink + length, np->dn_stat.st_size - length); diskfs_end_catch_exception (); |