summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-01-17 21:14:27 +0000
committerjilles <jilles@FreeBSD.org>2016-01-17 21:14:27 +0000
commit75e092887617f59d22451fe7453247abd4f0c842 (patch)
tree4215f9f38566086e8940c4e43973969719a46df2 /lib
parent43c7490c64e0bb3d034c8d88d519f567e9d0fb4c (diff)
downloadFreeBSD-src-75e092887617f59d22451fe7453247abd4f0c842.zip
FreeBSD-src-75e092887617f59d22451fe7453247abd4f0c842.tar.gz
utimensat(2): Correct description of [EINVAL] error.
MFC after: 4 days
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/utimensat.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/utimensat.2 b/lib/libc/sys/utimensat.2
index 57ad904..a714b34 100644
--- a/lib/libc/sys/utimensat.2
+++ b/lib/libc/sys/utimensat.2
@@ -31,7 +31,7 @@
.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd January 12, 2016
+.Dd January 17, 2016
.Dt UTIMENSAT 2
.Os
.Sh NAME
@@ -183,10 +183,13 @@ argument
points outside the process's allocated address space.
.It Bq Er EINVAL
The
-.Va tv_usec
+.Va tv_nsec
component of at least one of the values specified by the
.Fa times
-argument has a value less than 0 or greater than 999999.
+argument has a value less than 0 or greater than 999999999 and is not equal to
+.Dv UTIME_NOW
+or
+.Dv UTIME_OMIT .
.It Bq Er EIO
An I/O error occurred while reading or writing the affected inode.
.It Bq Er EPERM
OpenPOWER on IntegriCloud