]> granicus.if.org Git - strace/commitdiff
bfin: fix printing of invalid flags argument of sram_alloc syscall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 16 May 2016 23:31:59 +0000 (23:31 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 17 May 2016 08:03:58 +0000 (08:03 +0000)
* sram_alloc.c (SYS_FUNC(sram_alloc)): Print 2nd argument using
printflags_long.

sram_alloc.c

index ec463a680cf4c9e2bfbcdd4141fe911581f58a26..969e10eeb4188ec53095d16ecbb5812eccd38003 100644 (file)
@@ -11,7 +11,7 @@ SYS_FUNC(sram_alloc)
        /* size */
        tprintf("%lu, ", tcp->u_arg[0]);
        /* flags */
-       printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
+       printflags_long(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
 
        return RVAL_DECODED | RVAL_HEX;
 }