diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-10 14:21:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-10 14:21:35 +0000 |
commit | a3094b05298431ce0bc5a1430e5ec816df7e6312 (patch) | |
tree | 07300c7aa56eee4dd9da7dae0a906a93145d78ca /src | |
parent | d73dd155444217d6d6c7fa85b29e1bb72df63eb9 (diff) | |
download | coreutils-a3094b05298431ce0bc5a1430e5ec816df7e6312.tar.xz |
(batch_convert): Use memcpy when we don't need return value.
Diffstat (limited to 'src')
-rw-r--r-- | src/date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index b24e09c0a..6e95b8f56 100644 --- a/src/date.c +++ b/src/date.c @@ -142,7 +142,7 @@ batch_convert (const char *input_filename, const char *format) { size_t tz_len = strlen (initial_TZ); char *buf = xmalloc (3 + tz_len + 1); - mempcpy (mempcpy (buf, "TZ=", 3), initial_TZ, tz_len + 1); + memcpy (mempcpy (buf, "TZ=", 3), initial_TZ, tz_len + 1); initial_TZ = buf; } } |