From: Patrick Steinhardt Date: Thu, 15 Aug 2019 10:50:05 +0000 (+0200) Subject: libmount: fix comment referring to passno field X-Git-Tag: v2.35-rc1~279 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad167a9023aa1fd04653c6aed0256132514827aa;p=thirdparty%2Futil-linux.git 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 --- diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c index 8e94715d24..2dfa6cbb4b 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]"));