680d0e960c
According to documentation and kernel's syscalls.h, its type is size_t, so "%lu" format should be used instead of "%ld". * readahead.c (SYS_FUNC(readahead)): Fix conversion specifier for the "count" argument.
13 lines
183 B
C
13 lines
183 B
C
#include "defs.h"
|
|
|
|
SYS_FUNC(readahead)
|
|
{
|
|
int argn;
|
|
|
|
printfd(tcp, tcp->u_arg[0]);
|
|
argn = printllval(tcp, ", %lld", 1);
|
|
tprintf(", %lu", tcp->u_arg[argn]);
|
|
|
|
return RVAL_DECODED;
|
|
}
|