fallocate: change print format of offset and len arguments to signed
Since types of these arguments are off_t and kernel actually expects signed values in order to fail when negative values are provided, lets display these values as signed. * fallocate.c (SYS_FUNC(fallocate)): Change conversion specifier for printing "offset" and "len" syscall arguments from %llu to %lld.
This commit is contained in:
parent
e32f7eeefc
commit
5af0e0dab8
@ -19,10 +19,10 @@ SYS_FUNC(fallocate)
|
||||
tprints(", ");
|
||||
|
||||
/* offset */
|
||||
argn = printllval(tcp, "%llu, ", 2);
|
||||
argn = printllval(tcp, "%lld, ", 2);
|
||||
|
||||
/* len */
|
||||
printllval(tcp, "%llu", argn);
|
||||
printllval(tcp, "%lld", argn);
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user