Skip to content

Commit

Permalink
Fix getting the syscall name for syscall traces. Wrong evaluation of …
Browse files Browse the repository at this point in the history
…the predicate
  • Loading branch information
kakaroto committed Dec 4, 2010
1 parent 3f8176e commit 1d8b636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dump_syscall.c
Expand Up @@ -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;
Expand Down

0 comments on commit 1d8b636

Please sign in to comment.