From a679b0823fd6268d0b3e0412845281259b1e83d4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 20 Jul 2018 13:51:52 +0200 Subject: [PATCH] libmount: add missing const 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 6ecd53f726..8793f5e6ac 100644 --- a/libmount/src/tab_parse.c +++ b/libmount/src/tab_parse.c @@ -383,7 +383,7 @@ static int mnt_parse_swaps_line(struct libmnt_fs *fs, const char *s) * * mountinfo: " ... " */ -static int guess_table_format(char *line) +static int guess_table_format(const char *line) { unsigned int a, b; -- 2.47.2