diff options
-rw-r--r-- | src/rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |