examples/nfs-ls: fix summary output
authorPeter Lieven <pl@kamp.de>
Mon, 17 Mar 2014 17:05:15 +0000 (18:05 +0100)
committerPeter Lieven <pl@kamp.de>
Mon, 17 Mar 2014 17:06:21 +0000 (18:06 +0100)
Signed-off-by: Peter Lieven <pl@kamp.de>
examples/nfs-ls.c

index f6b223d2fdf3ceb012679278cc64545d26435c67..c680617effc5e1ee640b96cea114f1c56f70e2dd 100644 (file)
@@ -260,7 +260,7 @@ int main(int argc, char *argv[])
        process_dir(nfs, "", 16);
 
        if (summary) {
-               if (nfs_statvfs(nfs, "/", &stvfs) != 0) {
+               if (nfs_statvfs(nfs, "", &stvfs) != 0) {
                        goto finished;
                }
                printf("\n%12" PRId64 " of %12" PRId64 " bytes free.\n",