X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fdf.c;h=a1ec706df3aff4f70b7d3ce28c62a39f6baece66;hp=7aa6f4fdd142fe1d56ba09db37b1783658e78b0b;hb=53c524819323dcea8d5e3d56ff4fc6cf49b6c64f;hpb=5922d7084d6b43f0a1a15b664c7082dfeaf584d0 diff --git a/daemon/df.c b/daemon/df.c index 7aa6f4f..a1ec706 100644 --- a/daemon/df.c +++ b/daemon/df.c @@ -23,7 +23,7 @@ #include #include -#include "../src/guestfs_protocol.h" +#include "guestfs_protocol.h" #include "daemon.h" #include "actions.h" @@ -33,7 +33,7 @@ do_df (void) int r; char *out, *err; - NEED_ROOT (, return NULL); + NEED_ROOT (0, return NULL); r = command (&out, &err, "df", NULL); if (r == -1) { @@ -54,7 +54,7 @@ do_df_h (void) int r; char *out, *err; - NEED_ROOT (, return NULL); + NEED_ROOT (0, return NULL); r = command (&out, &err, "df", "-h", NULL); if (r == -1) {