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:
parent
c5f6863a18
commit
5e2fc6228e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user