summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-set-size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-set-size.c b/libdiskfs/file-set-size.c
index 96c83b79..06fc4671 100644
--- a/libdiskfs/file-set-size.c
+++ b/libdiskfs/file-set-size.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs: file_truncate
- Copyright (C) 1992, 1993, 1994 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -29,6 +29,6 @@ diskfs_S_file_truncate (struct protid *cred,
if (!(cred->po->openstat & O_WRITE))
err = EINVAL;
else
- diskfs_truncate (np, size);
+ err = diskfs_truncate (np, size);
}));
}