diff options
-rw-r--r-- | modules/computer/boots.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/computer/boots.c b/modules/computer/boots.c index 4a1023f6..2944ff91 100644 --- a/modules/computer/boots.c +++ b/modules/computer/boots.c @@ -44,7 +44,7 @@ scan_boots_real(void) while (*buf) { if (*buf == ' ' && *(buf + 1) == ' ') { - strcpy(buf, buf + 1); + memmove(buf, buf + 1, strlen(buf) + 1); buf--; } else { |