X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdf.c;h=7127c0013f0afdd4a8b049436a378a30db3cc4ad;hb=f15961911316460f7d45342d63c2d784a483f0d1;hp=cce41a0ebb288918009ea00b629a54c604eb61d7;hpb=dc706a639eec16084c0618baf7bfde00c6565f63;p=libguestfs.git diff --git a/daemon/df.c b/daemon/df.c index cce41a0..7127c00 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 (0, return NULL); + NEED_ROOT (, 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 (0, return NULL); + NEED_ROOT (, return NULL); r = command (&out, &err, "df", "-h", NULL); if (r == -1) {