diff options
Diffstat (limited to 'arch/x86/machine/string.c')
-rw-r--r-- | arch/x86/machine/string.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/machine/string.c b/arch/x86/machine/string.c index e78c41cd..26ce941b 100644 --- a/arch/x86/machine/string.c +++ b/arch/x86/machine/string.c @@ -78,8 +78,9 @@ memcmp(const void *s1, const void *s2, size_t n) { unsigned char c1, c2; - if (n == 0) + if (n == 0) { return 0; + } asm volatile("repe cmpsb" : "+D" (s1), "+S" (s2), "+c" (n) |