diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-17 09:40:16 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-17 11:40:24 +0200 |
commit | 29e7b9908ea6a4c2a864955e73d5b1d7d64f1fc8 (patch) | |
tree | 2e5e23b543e9f0bb18b8cfd30a99d6bce4f41cdd /daemon/blockdev.c | |
parent | 5a9b41ed4462ec765303b973f74f17d5c0138a9a (diff) | |
download | libguestfs-29e7b9908ea6a4c2a864955e73d5b1d7d64f1fc8.tar.gz libguestfs-29e7b9908ea6a4c2a864955e73d5b1d7d64f1fc8.tar.xz libguestfs-29e7b9908ea6a4c2a864955e73d5b1d7d64f1fc8.zip |
wc, blockdev: avoid warnings about discarding "const" qualifiers
* daemon/wc.c (wc): Make "flag" param const.
* daemon/blockdev.c (call_blockdev): Likewise, for "switc".
Diffstat (limited to 'daemon/blockdev.c')
-rw-r--r-- | daemon/blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/blockdev.c b/daemon/blockdev.c index e0ac3502..1aa6eaa2 100644 --- a/daemon/blockdev.c +++ b/daemon/blockdev.c @@ -32,7 +32,7 @@ * we centralize it in one call. */ static int64_t -call_blockdev (const char *device, char *switc, int extraarg, int prints) +call_blockdev (const char *device, const char *switc, int extraarg, int prints) { int r; int64_t rv; |