summaryrefslogtreecommitdiffstats
path: root/plugins/imklog/solaris_cddl.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-17 16:57:51 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-17 16:57:51 +0200
commitc4bb2d1cfa92ea9ee4ece2d6f761be8079610335 (patch)
treeeaf24645a676c53595357d46ccae3e762e2c6048 /plugins/imklog/solaris_cddl.c
parentc40898739485e0a407477b41d9eb3f925995ef17 (diff)
parentd3bb17372ef3282f08e7df2d457d70677eda851f (diff)
downloadrsyslog-c4bb2d1cfa92ea9ee4ece2d6f761be8079610335.tar.gz
rsyslog-c4bb2d1cfa92ea9ee4ece2d6f761be8079610335.tar.bz2
rsyslog-c4bb2d1cfa92ea9ee4ece2d6f761be8079610335.zip
Merge branch 'beta'
Diffstat (limited to 'plugins/imklog/solaris_cddl.c')
-rw-r--r--plugins/imklog/solaris_cddl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imklog/solaris_cddl.c b/plugins/imklog/solaris_cddl.c
index 7e86c68c..cf5467fc 100644
--- a/plugins/imklog/solaris_cddl.c
+++ b/plugins/imklog/solaris_cddl.c
@@ -216,7 +216,7 @@ sun_getkmsg()
*/
remlen = buflen - len;
- (void) memcpy(buf, &buf[len], remlen);
+ (void) memmove(buf, &buf[len], remlen);
dat.maxlen = MAXLINE - remlen;
dat.buf = &buf[remlen];
} else {