summaryrefslogtreecommitdiffstats
path: root/daemon/mount.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-10 11:49:42 +0100
committerRichard Jones <rjones@redhat.com>2009-06-10 14:16:47 +0100
commit56bef498f46ac3dd580f4bde3c8f3ed2fe688826 (patch)
tree73bb0d8c5df5ec8c5af905be3283b6beaa2994bc /daemon/mount.c
parent2df2f2854ed2d1f9857ef3c5aaca29810cf3c506 (diff)
downloadlibguestfs-56bef498f46ac3dd580f4bde3c8f3ed2fe688826.tar.gz
libguestfs-56bef498f46ac3dd580f4bde3c8f3ed2fe688826.tar.xz
libguestfs-56bef498f46ac3dd580f4bde3c8f3ed2fe688826.zip
In the daemon, change all const char * parameters to char *.
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 071ca962..4955fcf3 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -39,8 +39,8 @@ int root_mounted = 0;
*/
int
-do_mount_vfs (const char *options, const char *vfstype,
- const char *device, const char *mountpoint)
+do_mount_vfs (char *options, char *vfstype,
+ char *device, char *mountpoint)
{
int len, r, is_root;
char *mp;
@@ -84,20 +84,20 @@ do_mount_vfs (const char *options, const char *vfstype,
}
int
-do_mount (const char *device, const char *mountpoint)
+do_mount (char *device, char *mountpoint)
{
return do_mount_vfs ("sync,noatime", NULL, device, mountpoint);
}
int
-do_mount_ro (const char *device, const char *mountpoint)
+do_mount_ro (char *device, char *mountpoint)
{
return do_mount_vfs ("ro", NULL, device, mountpoint);
}
int
-do_mount_options (const char *options, const char *device,
- const char *mountpoint)
+do_mount_options (char *options, char *device,
+ char *mountpoint)
{
return do_mount_vfs (options, NULL, device, mountpoint);
}
@@ -106,7 +106,7 @@ do_mount_options (const char *options, const char *device,
* is kept updated.
*/
int
-do_umount (const char *pathordevice)
+do_umount (char *pathordevice)
{
int len, freeit = 0, r;
char *buf;