summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-11-02 20:06:59 +0000
committerguenther <guenther@openbsd.org>2013-11-02 20:06:59 +0000
commitf3ef1308a37534937148ee2b24f80f66654c4f5e (patch)
treeff66ccbeece0330251e019696780325e02bd88c9
parentsupport pkcs#11 tokes that only provide x509 zerts instead of raw pubkeys; (diff)
downloadwireguard-openbsd-f3ef1308a37534937148ee2b24f80f66654c4f5e.tar.xz
wireguard-openbsd-f3ef1308a37534937148ee2b24f80f66654c4f5e.zip
Fix lie that predated NetBSD: the struct stat time padding affected
utime() usage, not utimes() ok deraadt@
-rw-r--r--lib/libc/sys/stat.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 33ca4b61ba5..840a2d556bb 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.2,v 1.37 2013/11/02 19:03:36 deraadt Exp $
+.\" $OpenBSD: stat.2,v 1.38 2013/11/02 20:06:59 guenther Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -424,8 +424,8 @@ is only available to the superuser.
Certain programs written when the timestamps were just of type
.Li time_t
assumed that the members were consecutive (and could therefore
-be passed directly to
-.Xr utimes 2 ) .
+be treated as an array and have their address passed directly to
+.Xr utime 2 ) .
The transition to timestamps of type
.Li struct timespec
broke them irrevocably.