bfin: fix decoding of cacheflush syscall

* cacheflush.c (SYS_FUNC(cacheflush)): Print 2nd argument
using %lu format.  Print 3rd argument as flags.
This commit is contained in:
Дмитрий Левин 2016-05-16 21:31:54 +00:00
parent 18d921da6d
commit 2eb56d1906

View File

@ -81,9 +81,9 @@ SYS_FUNC(cacheflush)
/* start addr */
printaddr(tcp->u_arg[0]);
/* length */
tprintf(", %ld, ", tcp->u_arg[1]);
tprintf(", %lu, ", tcp->u_arg[1]);
/* flags */
printxval(cacheflush_flags, tcp->u_arg[1], "?CACHE");
printxval(cacheflush_flags, tcp->u_arg[2], "?CACHE");
return RVAL_DECODED;
}