Mac OS X: Use gnulib setenv module explicitly.
[libguestfs.git] / daemon / dd.c
index 2402e13..d92dac0 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "../src/guestfs_protocol.h"
 #include "daemon.h"
@@ -61,7 +62,7 @@ do_dd (const char *src, const char *dest)
   free (of_arg);
 
   if (r == -1) {
-    reply_with_error ("dd: %s: %s: %s", src, dest, err);
+    reply_with_error ("%s: %s: %s", src, dest, err);
     free (err);
     return -1;
   }