diff options
author | Karel Zak | 2018-07-20 13:51:52 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-20 13:51:52 +0200 |
commit | a679b0823fd6268d0b3e0412845281259b1e83d4 (patch) | |
tree | 53579d2cf24916ea4428b45859538b0b1a4279fd | |
parent | libmount: use const char in swaps parser (diff) | |
download | kernel-qcow2-util-linux-a679b0823fd6268d0b3e0412845281259b1e83d4.tar.gz kernel-qcow2-util-linux-a679b0823fd6268d0b3e0412845281259b1e83d4.tar.xz kernel-qcow2-util-linux-a679b0823fd6268d0b3e0412845281259b1e83d4.zip |
libmount: add missing const
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | libmount/src/tab_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c index 6ecd53f72..8793f5e6a 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: "<number> <number> ... " */ -static int guess_table_format(char *line) +static int guess_table_format(const char *line) { unsigned int a, b; |