summaryrefslogtreecommitdiffstats
path: root/daemon/dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/dd.c')
-rw-r--r--daemon/dd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/dd.c b/daemon/dd.c
index 8bc4aaba..7184ab6a 100644
--- a/daemon/dd.c
+++ b/daemon/dd.c
@@ -27,6 +27,8 @@
#include "daemon.h"
#include "actions.h"
+GUESTFSD_EXT_CMD(str_dd, dd);
+
int
do_dd (const char *src, const char *dest)
{
@@ -58,7 +60,7 @@ do_dd (const char *src, const char *dest)
return -1;
}
- r = command (NULL, &err, "dd", "bs=1024K", if_arg, of_arg, NULL);
+ r = command (NULL, &err, str_dd, "bs=1024K", if_arg, of_arg, NULL);
free (if_arg);
free (of_arg);