Add 'realpath' command.
[libguestfs.git] / daemon / upload.c
index 41b1bf2..6c5f6dc 100644 (file)
@@ -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
@@ -36,7 +36,7 @@ write_cb (void *fd_ptr, const void *buf, int len)
 
 /* Has one FileIn parameter. */
 int
-do_upload (const char *filename)
+do_upload (char *filename)
 {
   int err, fd, r, is_dev;
 
@@ -88,7 +88,7 @@ do_upload (const char *filename)
 
 /* Has one FileOut parameter. */
 int
-do_download (const char *filename)
+do_download (char *filename)
 {
   int fd, r, is_dev;
   char buf[GUESTFS_MAX_CHUNK_SIZE];