Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Show the size tha we were truncating too.
[fs/lustre-release.git]
/
lustre
/
tests
/
truncate.c
diff --git
a/lustre/tests/truncate.c
b/lustre/tests/truncate.c
index
f21bf9d
..
c49fb15
100644
(file)
--- a/
lustre/tests/truncate.c
+++ b/
lustre/tests/truncate.c
@@
-17,7
+17,8
@@
int main(int argc, char **argv)
off = strtoull(argv[2], NULL, 0);
err = truncate64(argv[1], off);
if ( err )
- printf("Error truncating %s: %s\n", argv[1], strerror(errno));
+ printf("Error truncating %s to %Ld: %s\n", argv[1], off,
+ strerror(errno));
return err;
}