Permalink
Browse files

Fix getting the syscall name for syscall traces. Wrong evaluation of …

…the predicate
  • Loading branch information...
1 parent 3f8176e commit 1d8b6368c71746202fbddc1cf0cc8c4b977e21af @kakaroto committed Dec 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/dump_syscall.c
View
@@ -551,7 +551,7 @@ int main (int argc, char *argv[])
if (type & 0x10)
syscall_name = get_hypercall_name (syscall);
- else if (type & 0xFF0 == 0)
+ else if ((type & 0xFF0) == 0)
syscall_name = get_syscall_name (syscall);
else if (type & 0x100)
syscall_name = NULL;

0 comments on commit 1d8b636

Please sign in to comment.