mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 18:30:55 -05:00
Replace PRId64 with "jd" in a printf call. Cast the corresponding value to
intmax_t, because the original type is off_t. Reported by: bde
This commit is contained in:
parent
c92bc5e996
commit
8ea4debe59
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ main(int argc, char *argv[])
|
|||
perror("unknown file type\n");
|
||||
exit(1);
|
||||
}
|
||||
printf("File: %s; File size %"PRId64" bytes\n", fn, file_size);
|
||||
printf("File: %s; File size %jd bytes\n", fn, (intmax_t)file_size);
|
||||
|
||||
aio = calloc(aio_len, sizeof(struct aiocb));
|
||||
abuf = calloc(aio_len, sizeof(char *));
|
||||
|
|
|
|||
Loading…
Reference in a new issue