examples/nfs-ls: fix summary output
[deb_libnfs.git] / 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",