Use PRId64 instead of %gd to print an int64_t.
This commit is contained in:
parent
5655a322c0
commit
1d35db811f
@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/disk.h>
|
||||
#include <aio.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
@ -186,7 +187,7 @@ main(int argc, char *argv[])
|
||||
perror("unknown file type\n");
|
||||
exit(1);
|
||||
}
|
||||
printf("File: %s; File size %qd bytes\n", fn, file_size);
|
||||
printf("File: %s; File size %"PRId64" bytes\n", fn, file_size);
|
||||
|
||||
aio = calloc(aio_len, sizeof(struct aiocb));
|
||||
abuf = calloc(aio_len, sizeof(char *));
|
||||
|
Loading…
Reference in New Issue
Block a user