diff options
Diffstat (limited to 'lib/string.c')
-rw-r--r-- | lib/string.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/string.c b/lib/string.c index d7a5ff9b81ea..037a48acedbb 100644 --- a/lib/string.c +++ b/lib/string.c | |||
@@ -488,7 +488,8 @@ EXPORT_SYMBOL(memcpy); | |||
488 | */ | 488 | */ |
489 | void *memmove(void *dest, const void *src, size_t count) | 489 | void *memmove(void *dest, const void *src, size_t count) |
490 | { | 490 | { |
491 | char *tmp, *s; | 491 | char *tmp; |
492 | const char *s; | ||
492 | 493 | ||
493 | if (dest <= src) { | 494 | if (dest <= src) { |
494 | tmp = dest; | 495 | tmp = dest; |