From 928f209ceae3fe3995d4ff926bca0d60a23cf744 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 31 Aug 2015 11:38:58 +0200 Subject: [PATCH] libmount: fix compiler warning [-Wdiscarded-qualifiers] Signed-off-by: Karel Zak --- libmount/src/tab_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c index 2e55500fed..0fd36282dd 100644 --- a/libmount/src/tab_parse.c +++ b/libmount/src/tab_parse.c @@ -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 */ -- 2.47.2