summaryrefslogtreecommitdiff
path: root/src/touch.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-09-17 15:54:59 -0600
committerEric Blake <eblake@redhat.com>2010-09-17 15:57:49 -0600
commit2dd21704d63c4e7567695a9e43dc1631b930efe2 (patch)
treecf090976bf354b83bc2946b9a95001bb411aa9fc /src/touch.c
parent95732b834e5dead84fefa7b6d387f61048ed21b3 (diff)
downloadcoreutils-2dd21704d63c4e7567695a9e43dc1631b930efe2.tar.xz
maint: update to latest gnulib
* gnulib: Update to latest. * src/copy.c (copy_reg): Use fdutimens instead of gl_futimens. * src/touch.c (touch): Adjust parameter order. * tests/init.sh: Resync from upstream.
Diffstat (limited to 'src/touch.c')
-rw-r--r--src/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/touch.c b/src/touch.c
index 290f74300..6358b893c 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -163,7 +163,7 @@ touch (const char *file)
t = NULL;
}
- ok = (fdutimensat (AT_FDCWD, (fd == STDOUT_FILENO ? NULL : file), fd, t,
+ ok = (fdutimensat (fd, AT_FDCWD, (fd == STDOUT_FILENO ? NULL : file), t,
(no_dereference && fd == -1) ? AT_SYMLINK_NOFOLLOW : 0)
== 0);