summaryrefslogtreecommitdiffstats
path: root/lib/fsprobe.c
diff options
context:
space:
mode:
authorKarel Zak2009-03-03 16:10:24 +0100
committerKarel Zak2009-03-03 16:10:24 +0100
commit4b350e012005276f445a6aec4d64f099e2860687 (patch)
tree3304f5a45fee0c500644957e3fcbd5247c7e818a /lib/fsprobe.c
parentblkid: fix gcc warning in blkid_get_cache_filename() (diff)
downloadkernel-qcow2-util-linux-4b350e012005276f445a6aec4d64f099e2860687.tar.gz
kernel-qcow2-util-linux-4b350e012005276f445a6aec4d64f099e2860687.tar.xz
kernel-qcow2-util-linux-4b350e012005276f445a6aec4d64f099e2860687.zip
lib: gcc warning in fix fsprobe
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/fsprobe.c')
-rw-r--r--lib/fsprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fsprobe.c b/lib/fsprobe.c
index 98c03e88f..9f5adf8c1 100644
--- a/lib/fsprobe.c
+++ b/lib/fsprobe.c
@@ -135,7 +135,7 @@ static const char *
fsprobe_get_value(const char *name, const char *devname)
{
int fd;
- unsigned char *data = NULL;
+ const char *data = NULL;
if (!devname || !name)
return NULL;