summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-01-21 21:16:57 +0000
committerjilles <jilles@FreeBSD.org>2016-01-21 21:16:57 +0000
commitc749c94c2ec83d82c428b921de4efe12f1a02b49 (patch)
treeb8faa3bb9c44654478475c6f06fe1305045f1cbd /lib
parentfb5d84effe4e90aaedb5e202e2a44ece749c29b3 (diff)
downloadFreeBSD-src-c749c94c2ec83d82c428b921de4efe12f1a02b49.zip
FreeBSD-src-c749c94c2ec83d82c428b921de4efe12f1a02b49.tar.gz
MFC r294234: utimensat(2): Correct description of [EINVAL] error.
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