]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(full_filename): Use memcpy, not mempcpy when not using the return value.
authorJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 11:02:47 +0000 (11:02 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 11:02:47 +0000 (11:02 +0000)
src/rm.c

index cdd2036a205431ec28fb74b7b054b8abc5785548..12ef6c7e9194ced723a20e3d38a77fa41566a5df 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -434,7 +434,7 @@ full_filename (const char *filename)
 
   /* Copy directory part, including trailing slash, and then
      append the filename part, including a trailing zero byte.  */
-  mempcpy (mempcpy (buf, dir_name, dir_len), filename, filename_len + 1);
+  memcpy (mempcpy (buf, dir_name, dir_len), filename, filename_len + 1);
 
   assert (strlen (buf) + 1 == n_bytes_needed);