diff options
Diffstat (limited to 'lib/efi_loader/efi_freestanding.c')
| -rw-r--r-- | lib/efi_loader/efi_freestanding.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/efi_loader/efi_freestanding.c b/lib/efi_loader/efi_freestanding.c index dcf5d1c49a2..bd0dff162f6 100644 --- a/lib/efi_loader/efi_freestanding.c +++ b/lib/efi_loader/efi_freestanding.c @@ -47,7 +47,7 @@ void *memmove(void *dest, const void *src, size_t n)  	u8 *d = dest;  	const u8 *s = src; -	if (d >= s) { +	if (d <= s) {  		for (; n; --n)  			*d++ = *s++;  	} else { | 
