X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdf.c;h=14954d2acac12600dc2ee9c1efada783597890f3;hb=be1419a442d9936e737fb2ca6f0fdba36a048964;hp=563760d20b4404be2a86d1f89423053a0d1d4282;hpb=d7569c00787fb92a8cd2f08c537ea1662f987901;p=libguestfs.git diff --git a/daemon/df.c b/daemon/df.c index 563760d..14954d2 100644 --- a/daemon/df.c +++ b/daemon/df.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -23,7 +23,7 @@ #include #include -#include "../src/guestfs_protocol.h" +#include "guestfs_protocol.h" #include "daemon.h" #include "actions.h" @@ -33,11 +33,11 @@ do_df (void) int r; char *out, *err; - NEED_ROOT (return NULL); + NEED_ROOT (, return NULL); 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; @@ -54,11 +54,11 @@ do_df_h (void) int r; char *out, *err; - NEED_ROOT (return NULL); + NEED_ROOT (, return NULL); 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;