]> granicus.if.org Git - strace/commitdiff
mips: fix printing of invalid operations argument of sysmips syscall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 16 May 2016 23:34:01 +0000 (23:34 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 17 May 2016 08:03:58 +0000 (08:03 +0000)
* sysmips.c (SYS_FUNC(sysmips)): Print 1st argument of syscall using
printxval_long.

sysmips.c

index 10b102a3418ef9b10bd1bac871ca27e3b684eaab..bc3cb8d56d694a3c615d1e4a462450f1df728123 100644 (file)
--- a/sysmips.c
+++ b/sysmips.c
@@ -45,7 +45,7 @@
 
 SYS_FUNC(sysmips)
 {
-       printxval(sysmips_operations, tcp->u_arg[0], "???");
+       printxval_long(sysmips_operations, tcp->u_arg[0], "???");
        tprints(", ");
 
        switch (tcp->u_arg[0]) {