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 | c727e27413678eeadbc1a33df0c884a6e7775a9a (patch) | |
| tree | f2c9761550bc0119435e16747417f35c62c84280 /ufs | |
| parent | 12235ec5d3b87c11782d39732209a39bb1e55381 (diff) | |
(diskfs_truncate): Remove assignment from if test.
Diffstat (limited to 'ufs')
| -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 (); |
