Whamcloud - gitweb
Show the size tha we were truncating too.
authoradilger <adilger>
Fri, 18 Oct 2002 07:40:21 +0000 (07:40 +0000)
committeradilger <adilger>
Fri, 18 Oct 2002 07:40:21 +0000 (07:40 +0000)
lustre/tests/truncate.c

index f21bf9d..c49fb15 100644 (file)
@@ -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;
 }