commit | afea7dd4a597e15e74ec3de5a78288056296311b | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Feb 12 11:52:35 2013 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Feb 12 11:52:35 2013 +0100 |
tree | 6eefa7b99ee9fdc49d2332387964684e193e94dd | |
parent | 9472a27b79a6820b5bdf37647c04a7e1d8790737 [diff] |
Fix is_negated_errno() check for X32 X32's return value is 64-bit. We were truncating it to 32-bit long before checking for -errno. * syscall.c (is_negated_errno_x32): New function. (get_error): Use is_negated_errno_x32 for X32 architecture. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>