x86 libc: Fix the range to check the error

The spec says "A value in the range between -4095 to -1 indicates an error" (not -129).
This was pointed out in the comment in 22039.

Change-Id: I11b7c45015a9e4ccf09aed5364a889437eab6ab8
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
This commit is contained in:
Jun Nakajima 2011-06-17 14:37:50 -07:00
parent 4d9b75a9b0
commit 5288fee835

View File

@ -32,7 +32,7 @@ syscall:
int $0x80
cmpl $-129, %eax
cmpl $-4095, %eax
jb 1f
negl %eax
pushl %eax