diff options
Diffstat (limited to 'daemon/cmp.c')
-rw-r--r-- | daemon/cmp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/cmp.c b/daemon/cmp.c index 0673403c..89da3b88 100644 --- a/daemon/cmp.c +++ b/daemon/cmp.c @@ -27,6 +27,8 @@ #include "daemon.h" #include "actions.h" +GUESTFSD_EXT_CMD(str_cmp, cmp); + int do_equal (const char *file1, const char *file2) { @@ -47,7 +49,7 @@ do_equal (const char *file1, const char *file2) return -1; } - r = commandr (NULL, &err, "cmp", "-s", file1buf, file2buf, NULL); + r = commandr (NULL, &err, str_cmp, "-s", file1buf, file2buf, NULL); free (file1buf); free (file2buf); |