X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdf.c;h=b5c4980c780869f0f3cbe3d7cee5e83947952991;hb=d0efcd6b63edb3e32a7ff0c7e032d06a2d16f348;hp=ad662fa79c2704c5e533489c09cfcd9dedd0b235;hpb=6bda071b5cd8393b37653687027c4ae6c6cf3804;p=libguestfs.git diff --git a/daemon/df.c b/daemon/df.c index ad662fa..b5c4980 100644 --- a/daemon/df.c +++ b/daemon/df.c @@ -28,7 +28,7 @@ #include "actions.h" char * -do_df () +do_df (void) { int r; char *out, *err; @@ -37,7 +37,7 @@ do_df () r = command (&out, &err, "df", NULL); if (r == -1) { - reply_with_error ("df: %s", err); + reply_with_error ("%s", err); free (out); free (err); return NULL; @@ -49,7 +49,7 @@ do_df () } char * -do_df_h () +do_df_h (void) { int r; char *out, *err; @@ -58,7 +58,7 @@ do_df_h () r = command (&out, &err, "df", "-h", NULL); if (r == -1) { - reply_with_error ("df -h: %s", err); + reply_with_error ("%s", err); free (out); free (err); return NULL;