Fix the compiler report warning at seek_sanity_test.c:
seek_sanity_test.c:46:3: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'int'
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Mark Tinguely <tinguely@sgi.com>
- if (!fstatfs(fd, &buf))
- fprintf(stdout, "File system magic#: 0x%lx\n", buf.f_type);
+ if (!fstatfs(fd, &buf)) {
+ fprintf(stdout, "File system magic#: 0x%lx\n",
+ (unsigned long int)buf.f_type);
+ }
}
static int get_io_sizes(int fd)
}
static int get_io_sizes(int fd)