X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fcpmv.c;h=5448a97a5c2ea9eb4341cdd4167dca2c1050ffc7;hb=3f2ba6fdfbb82234e8a546dc54d568f49cd2e56b;hp=33755c42eb0a2b6b79cfd92e2e514c268f8031ad;hpb=3cb794463a62239e36d730bc5d2d3eb4c7a66096;p=libguestfs.git diff --git a/daemon/cpmv.c b/daemon/cpmv.c index 33755c4..5448a97 100644 --- a/daemon/cpmv.c +++ b/daemon/cpmv.c @@ -1,5 +1,5 @@ /* libguestfs - the guestfsd daemon - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,19 +28,19 @@ static int cpmv_cmd (const char *cmd, const char *flags, const char *src, const char *dest); int -do_cp (const char *src, const char *dest) +do_cp (char *src, char *dest) { return cpmv_cmd ("cp", NULL, src, dest); } int -do_cp_a (const char *src, const char *dest) +do_cp_a (char *src, char *dest) { return cpmv_cmd ("cp", "-a", src, dest); } int -do_mv (const char *src, const char *dest) +do_mv (char *src, char *dest) { return cpmv_cmd ("mv", NULL, src, dest); }