X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdf.c;h=ad662fa79c2704c5e533489c09cfcd9dedd0b235;hb=adf20c0c4d9f488d55254f54a79079b9cacbde8d;hp=73604b4ab63ca60fac649bdb51b6a8502313a4fd;hpb=a7b73d4a1e09f12b2002083618056f0c823c1dcf;p=libguestfs.git diff --git a/daemon/df.c b/daemon/df.c index 73604b4..ad662fa 100644 --- a/daemon/df.c +++ b/daemon/df.c @@ -33,7 +33,7 @@ do_df () int r; char *out, *err; - NEED_ROOT (NULL); + NEED_ROOT (return NULL); r = command (&out, &err, "df", NULL); if (r == -1) { @@ -54,7 +54,7 @@ do_df_h () int r; char *out, *err; - NEED_ROOT (NULL); + NEED_ROOT (return NULL); r = command (&out, &err, "df", "-h", NULL); if (r == -1) {