git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add guestfs_rescue=1 appliance option to start a rescue shell.
[libguestfs.git]
/
daemon
/
upload.c
diff --git
a/daemon/upload.c
b/daemon/upload.c
index
41b1bf2
..
0f737af
100644
(file)
--- a/
daemon/upload.c
+++ b/
daemon/upload.c
@@
-36,7
+36,7
@@
write_cb (void *fd_ptr, const void *buf, int len)
/* Has one FileIn parameter. */
int
/* Has one FileIn parameter. */
int
-do_upload (c
onst c
har *filename)
+do_upload (char *filename)
{
int err, fd, r, is_dev;
{
int err, fd, r, is_dev;
@@
-88,7
+88,7
@@
do_upload (const char *filename)
/* Has one FileOut parameter. */
int
/* Has one FileOut parameter. */
int
-do_download (c
onst c
har *filename)
+do_download (char *filename)
{
int fd, r, is_dev;
char buf[GUESTFS_MAX_CHUNK_SIZE];
{
int fd, r, is_dev;
char buf[GUESTFS_MAX_CHUNK_SIZE];