]> err.no Git - util-linux/commitdiff
lib: gcc warning in fix fsprobe
authorKarel Zak <kzak@redhat.com>
Tue, 3 Mar 2009 15:10:24 +0000 (16:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Mar 2009 15:10:24 +0000 (16:10 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/fsprobe.c

index 98c03e88f6a555b8753bef0a9ad4f26b2af6c5d6..9f5adf8c14f3709d5df492152626c6d5a3c8f2ce 100644 (file)
@@ -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;