From ad167a9023aa1fd04653c6aed0256132514827aa Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Thu, 15 Aug 2019 12:50:05 +0200 Subject: libmount: fix comment referring to passno field There's an obvious copy-paste error in `mnt_parse_table_line` when referring to the 6th field of the fstab format, where it says "freq" instead of "passno". This has probably been copied from the 5th field, which is in fact correctly labelled as "freq". Fix the mistake by changing the comment to say "passno" instead. Signed-off-by: Patrick Steinhardt --- 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 8e94715d2..2dfa6cbb4 100644 --- a/libmount/src/tab_parse.c +++ b/libmount/src/tab_parse.c @@ -154,7 +154,7 @@ static int mnt_parse_table_line(struct libmnt_fs *fs, const char *s) if (!s || !*s) goto done; - /* (6) freq (optional) */ + /* (6) passno (optional) */ s = next_s32(s, &fs->passno, &rc); if (s && *s && rc) { DBG(TAB, ul_debug("tab parse error: [passno]")); -- cgit v1.2.3-55-g7522