[Libguestfs] [PATCH libguestfs 20/23] mount.c (do_mount): make a local "const" to match parameter's type
Richard W.M. Jones
rjones at redhat.com
Wed Aug 12 17:59:04 UTC 2009
On Wed, Aug 12, 2009 at 06:52:56PM +0200, Jim Meyering wrote:
> From: Jim Meyering <meyering at redhat.com>
>
> ---
> daemon/mount.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/daemon/mount.c b/daemon/mount.c
> index 89bef34..9ccb37b 100644
> --- a/daemon/mount.c
> +++ b/daemon/mount.c
> @@ -106,7 +106,7 @@ int
> do_umount (const char *pathordevice)
> {
> int freeit = 0, r;
> - char *buf;
> + const char *buf;
> char *err;
>
> if (strncmp (pathordevice, "/dev/", 5) == 0) {
> --
> 1.6.4.337.g5420e
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs
Seems OK, ACK.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list