From: Peter Lieven Date: Mon, 17 Mar 2014 17:05:15 +0000 (+0100) Subject: examples/nfs-ls: fix summary output X-Git-Tag: upstream/1.9.6^2~76^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9ecd7868a63737fb717692e774341781f39afb1f;p=deb_libnfs.git examples/nfs-ls: fix summary output Signed-off-by: Peter Lieven --- diff --git a/examples/nfs-ls.c b/examples/nfs-ls.c index f6b223d..c680617 100644 --- a/examples/nfs-ls.c +++ b/examples/nfs-ls.c @@ -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",