summaryrefslogtreecommitdiff
path: root/src/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/truncate.c')
-rw-r--r--src/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truncate.c b/src/truncate.c
index c6f12b7a9..06fa03a03 100644
--- a/src/truncate.c
+++ b/src/truncate.c
@@ -229,7 +229,7 @@ do_ftruncate (int fd, char const *fname, off_t ssize, rel_mode_t rel_mode)
/* Complain only when ftruncate fails on a regular file, a
directory, or a shared memory object, as POSIX 1003.1-2004
specifies ftruncate's behavior only for these file types.
- For example, do not complain when Linux 2.4 ftruncate
+ For example, do not complain when Linux kernel 2.4 ftruncate
fails on /dev/fd0. */
int const ftruncate_errno = errno;
if (fstat (fd, &sb) != 0)