diff options
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 (); |