summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-05-19 18:36:03 +0200
committerJim Meyering <jim@meyering.net>2007-05-19 18:36:03 +0200
commit5ab25eb05b27bdd575edabcd7cc537965a4c161d (patch)
tree00c2062065c8fa609973c931ac70f5647422d5a7 /src/copy.c
parentab4f4bdc18718160963dad71b8d233167631bd94 (diff)
downloadcoreutils-5ab25eb05b27bdd575edabcd7cc537965a4c161d.tar.xz
Rename uses of futimens -> gl_futimens; glibc now declares the former.
* src/copy.c (copy_reg): Reflect renaming: futimens -> gl_futimens. * src/touch.c (touch): Likewise.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 81636ae7b..f4e3b174b 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -551,7 +551,7 @@ copy_reg (char const *src_name, char const *dst_name,
timespec[0] = get_stat_atime (src_sb);
timespec[1] = get_stat_mtime (src_sb);
- if (futimens (dest_desc, dst_name, timespec) != 0)
+ if (gl_futimens (dest_desc, dst_name, timespec) != 0)
{
error (0, errno, _("preserving times for %s"), quote (dst_name));
if (x->require_preserve)