]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix compiler warning [-Wdiscarded-qualifiers]
authorKarel Zak <kzak@redhat.com>
Mon, 31 Aug 2015 09:38:58 +0000 (11:38 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 31 Aug 2015 09:38:58 +0000 (11:38 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab_parse.c

index 2e55500fed03e9120460be7807ba8e15252b5552..0fd36282dd685d61813daa23bcd483ee9944ddc3 100644 (file)
@@ -24,7 +24,7 @@
 
 struct libmnt_parser {
        FILE    *f;             /* fstab, mtab, swaps or mountinfo ... */
-       char    *filename;      /* file name or NULL */
+       const char *filename;   /* file name or NULL */
        char    *buf;           /* buffer (the current line content) */
        size_t  bufsiz;         /* size of the buffer */
        size_t  line;           /* current line */