summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-03-03 16:10:24 +0100
committerKarel Zak <kzak@redhat.com>2009-03-03 16:10:24 +0100
commit4b350e012005276f445a6aec4d64f099e2860687 (patch)
tree3304f5a45fee0c500644957e3fcbd5247c7e818a /lib
parent30fce928380e03b05aab9d51c444e38dfe976cb8 (diff)
downloadutil-linux-old-4b350e012005276f445a6aec4d64f099e2860687.tar.gz
lib: gcc warning in fix fsprobe
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/fsprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fsprobe.c b/lib/fsprobe.c
index 98c03e88..9f5adf8c 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;