From 1d8b6368c71746202fbddc1cf0cc8c4b977e21af Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Sat, 4 Dec 2010 02:51:33 -0500 Subject: [PATCH] Fix getting the syscall name for syscall traces. Wrong evaluation of the predicate --- tools/dump_syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dump_syscall.c b/tools/dump_syscall.c index 1bd04e5..7768326 100644 --- a/tools/dump_syscall.c +++ b/tools/dump_syscall.c @@ -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;