X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdu.c;h=7d9c663d000051d80f6ed2ca7da2ee99eb041a86;hb=8601bbda56cdb2b8491b6e2054596ec9599c38f1;hp=735132aef5b09ba1cc9845b41f30a02e2977f71f;hpb=78029b529ad98769685d607230b70f71832d5906;p=libguestfs.git diff --git a/daemon/du.c b/daemon/du.c index 735132a..7d9c663 100644 --- a/daemon/du.c +++ b/daemon/du.c @@ -37,7 +37,7 @@ do_du (char *path) char *buf; NEED_ROOT (-1); - ABS_PATH (path, -1); + ABS_PATH (path, return -1); /* Make the path relative to /sysroot. */ buf = sysroot_path (path);