xfstests: fix a compile warning at seek_sanity_test.c

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>
This commit is contained in:
Jeff Liu
2012-06-02 14:33:06 +00:00
committed by Mark Tinguely
parent ee9f5bd491
commit 7bb8e28b91
+4 -2
View File
@@ -42,8 +42,10 @@ static void get_file_system(int fd)
{
struct statfs buf;
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)