bfin: fix printing of invalid flags argument of sram_alloc syscall

* sram_alloc.c (SYS_FUNC(sram_alloc)): Print 2nd argument using
printflags_long.
This commit is contained in:
Дмитрий Левин 2016-05-16 23:31:59 +00:00
parent c5f6863a18
commit 5e2fc6228e

View 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;
}