X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdf.c;h=563760d20b4404be2a86d1f89423053a0d1d4282;hb=d5fad33b4eaa39722ea1dc96de9446ffc4805e01;hp=0a7303c7e9a8ff2f14bc8469c212b4055002e335;hpb=405cf2a5772611ea05cca9fefa843154a9bc64a3;p=libguestfs.git diff --git a/daemon/df.c b/daemon/df.c index 0a7303c..563760d 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 @@ -28,12 +28,12 @@ #include "actions.h" char * -do_df () +do_df (void) { int r; char *out, *err; - NEED_ROOT (NULL); + NEED_ROOT (return NULL); r = command (&out, &err, "df", NULL); if (r == -1) { @@ -49,12 +49,12 @@ do_df () } char * -do_df_h () +do_df_h (void) { int r; char *out, *err; - NEED_ROOT (NULL); + NEED_ROOT (return NULL); r = command (&out, &err, "df", "-h", NULL); if (r == -1) {