summaryrefslogtreecommitdiff
path: root/lib/futimens.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-12 15:33:30 -0600
committerEric Blake <ebb9@byu.net>2009-10-16 05:49:18 -0600
commit8cb4edaac4154d3b4455b9d132599bf73c0100ee (patch)
treec08f0578c646d1e0f74fa7582c38c5ff99131635 /lib/futimens.c
parent2d437590196e3c6880ca5c06029fcd73f0e16442 (diff)
downloadgnulib-8cb4edaac4154d3b4455b9d132599bf73c0100ee.tar.gz
sys_stat: sort replacement declarations
* lib/sys_stat.in.h: Sort declarations. * lib/futimens.c (futimens): Fix typo. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/futimens.c')
-rw-r--r--lib/futimens.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/futimens.c b/lib/futimens.c
index f253747050..031a464359 100644
--- a/lib/futimens.c
+++ b/lib/futimens.c
@@ -25,10 +25,10 @@
/* Set the access and modification time stamps of FD to be
TIMESPEC[0] and TIMESPEC[1], respectively.
Fail with ENOSYS on systems without futimes (or equivalent).
- If TIMESPEC is null, set theh time stamps to the current time.
+ If TIMESPEC is null, set the time stamps to the current time.
Return 0 on success, -1 (setting errno) on failure. */
int
-futimens (int fd, const struct timespec times[2])
+futimens (int fd, struct timespec const times[2])
{
/* fdutimens also works around bugs in native futimens, when running
with glibc compiled against newer headers but on a Linux kernel