Revision 872ea0c0 linux-user/syscall.c
b/linux-user/syscall.c | ||
---|---|---|
3075 | 3075 |
target_to_host_errno_table[host_to_target_errno_table[i]] = i; |
3076 | 3076 |
|
3077 | 3077 |
/* automatic consistency check if same arch */ |
3078 |
#if defined(__i386__) && defined(TARGET_I386) && defined(TARGET_ABI32) |
|
3079 |
if (ie->target_cmd != ie->host_cmd) { |
|
3080 |
fprintf(stderr, "ERROR: ioctl: target=0x%x host=0x%x\n", |
|
3081 |
ie->target_cmd, ie->host_cmd); |
|
3078 |
#if (defined(__i386__) && defined(TARGET_I386) && defined(TARGET_ABI32)) || \ |
|
3079 |
(defined(__x86_64__) && defined(TARGET_X86_64)) |
|
3080 |
if (unlikely(ie->target_cmd != ie->host_cmd)) { |
|
3081 |
fprintf(stderr, "ERROR: ioctl(%s): target=0x%x host=0x%x\n", |
|
3082 |
ie->name, ie->target_cmd, ie->host_cmd); |
|
3082 | 3083 |
} |
3083 | 3084 |
#endif |
3084 | 3085 |
ie++; |
Also available in: Unified diff