]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add missing const
authorKarel Zak <kzak@redhat.com>
Fri, 20 Jul 2018 11:51:52 +0000 (13:51 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 20 Jul 2018 11:51:52 +0000 (13:51 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab_parse.c

index 6ecd53f7263a70ff8ec7109d2b0bc79393cd46ae..8793f5e6ac5626609c1503c7b61b08b51b719810 100644 (file)
@@ -383,7 +383,7 @@ static int mnt_parse_swaps_line(struct libmnt_fs *fs, const char *s)
  *
  * mountinfo: "<number> <number> ... "
  */
-static int guess_table_format(char *line)
+static int guess_table_format(const char *line)
 {
        unsigned int a, b;