X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdf.c;h=ad662fa79c2704c5e533489c09cfcd9dedd0b235;hb=1f0810eb3a98cbfd347af59b6b9bc624ddff6028;hp=0a7303c7e9a8ff2f14bc8469c212b4055002e335;hpb=405cf2a5772611ea05cca9fefa843154a9bc64a3;p=libguestfs.git diff --git a/daemon/df.c b/daemon/df.c index 0a7303c..ad662fa 100644 --- a/daemon/df.c +++ b/daemon/df.c @@ -1,5 +1,5 @@ /* libguestfs - the guestfsd daemon - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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) {