projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b228a
)
xfstests: fix format string warning in aio-dio-extend-stat.c
author
Christoph Hellwig
<hch@lst.de>
Thu, 21 Jan 2010 17:32:36 +0000
(18:32 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 21 Jan 2010 17:32:36 +0000
(18:32 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
src/aio-dio-regress/aio-dio-extend-stat.c
patch
|
blob
|
history
diff --git
a/src/aio-dio-regress/aio-dio-extend-stat.c
b/src/aio-dio-regress/aio-dio-extend-stat.c
index 1cbd7e11e17250c987faf965f114f3ba94ec2bdd..a6b4f08b8539bf65b17a736bb5f639e7eaeb2938 100644
(file)
--- a/
src/aio-dio-regress/aio-dio-extend-stat.c
+++ b/
src/aio-dio-regress/aio-dio-extend-stat.c
@@
-149,8
+149,9
@@
void fun_read(void *ptr)
if (filestat.st_size < exSize)
fail("write of %lu bytes @%llu finished, "
"expected filesize at least %llu, but "
- "got %ld\n", event->obj->u.c.nbytes,
- event->obj->u.c.offset, exSize, filestat.st_size);
+ "got %lld\n", event->obj->u.c.nbytes,
+ event->obj->u.c.offset, exSize,
+ (long long)filestat.st_size);
}
}
}