diff options
-rw-r--r-- | src/xf86Elo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c index d356da8..758a198 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -263,7 +263,7 @@ xf86EloGetPacket(unsigned char *buffer, */ ErrorF("Elographics: Dropping one byte in an attempt to synchronize: '%c' 0x%X\n", buffer[0], buffer[0]); - memcpy(&buffer[0], &buffer[1], num_bytes-1); + memmove(&buffer[0], &buffer[1], num_bytes-1); } else { /* |