summaryrefslogtreecommitdiff
path: root/lib/lanplus/lanplus.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lanplus/lanplus.c')
-rw-r--r--lib/lanplus/lanplus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lanplus/lanplus.c b/lib/lanplus/lanplus.c
index 40d3ab4..b695837 100644
--- a/lib/lanplus/lanplus.c
+++ b/lib/lanplus/lanplus.c
@@ -904,7 +904,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * intf)
if (rsp->data_len &&
rsp->payload.ipmi_response.cmd== 0x34) {
- memcpy(rsp->data, &rsp->data[offset],
+ memmove(rsp->data, &rsp->data[offset],
(rsp->data_len-offset));
printbuf( &rsp->data[offset],
(rsp->data_len-offset),