summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat.c b/src/cat.c
index 8ef9d7161..2d1df91d8 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -524,7 +524,7 @@ cat (inbuf, insize, outbuf, outsize, quote,
/* Move the remaining bytes to the beginning of the
buffer. */
- bcopy (wp, outbuf, bpout - wp);
+ memmove (outbuf, wp, bpout - wp);
bpout = outbuf + (bpout - wp);
}