From: Karel Zak Date: Tue, 3 Mar 2009 15:10:24 +0000 (+0100) Subject: lib: gcc warning in fix fsprobe X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b350e012005276f445a6aec4d64f099e2860687;p=util-linux lib: gcc warning in fix fsprobe Signed-off-by: Karel Zak --- 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;