diff options
| author | Warner Losh <imp@FreeBSD.org> | 2007-03-28 21:15:50 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2007-03-28 21:15:50 +0000 |
| commit | 5a8da39aa73168170bfbf37924f592d72d4ef4e5 (patch) | |
| tree | 4f759bab374b8b890cc7d8ba3a48377b97b5b21f /sys/boot | |
| parent | a4802919077e00a7d7f3893ee21e3b3267d86705 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/arm/at91/libat91/memcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/arm/at91/libat91/memcmp.c b/sys/boot/arm/at91/libat91/memcmp.c index bc157cf65e12..322042f23cf2 100644 --- a/sys/boot/arm/at91/libat91/memcmp.c +++ b/sys/boot/arm/at91/libat91/memcmp.c @@ -34,5 +34,5 @@ p_memcmp(const char *to, const char *from, unsigned size) while ((--size) && (*to++ == *from++)) continue; - return (*to != *from); + return (size || (*to != *from)); } |
