Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
be58482
)
Show the size tha we were truncating too.
author
adilger
<adilger>
Fri, 18 Oct 2002 07:40:21 +0000
(07:40 +0000)
committer
adilger
<adilger>
Fri, 18 Oct 2002 07:40:21 +0000
(07:40 +0000)
lustre/tests/truncate.c
patch
|
blob
|
history
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;
}