mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
parent
426cdc0ac0
commit
b779c1aecb
|
@ -470,7 +470,7 @@ static void fs_interpret_type(struct libmnt_fs *fs)
|
|||
static int parser_errcb(struct libmnt_table *tb __attribute__ ((__unused__)),
|
||||
const char *filename, int line)
|
||||
{
|
||||
warnx(_("%s: parse error at line %d -- ignore"), filename, line);
|
||||
warnx(_("%s: parse error at line %d -- ignored"), filename, line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -804,7 +804,7 @@ leave:
|
|||
static int parser_errcb(struct libmnt_table *tb __attribute__ ((__unused__)),
|
||||
const char *filename, int line)
|
||||
{
|
||||
warnx(_("%s: parse error at line %d"), filename, line);
|
||||
warnx(_("%s: parse error at line %d -- ignored"), filename, line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -430,8 +430,7 @@ static int table_parser_errcb(struct libmnt_table *tb __attribute__((__unused__)
|
|||
const char *filename, int line)
|
||||
{
|
||||
if (filename)
|
||||
warnx(_("%s: parse error: ignore entry at line %d."),
|
||||
filename, line);
|
||||
warnx(_("%s: parse error at line %d -- ignored"), filename, line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -99,8 +99,7 @@ static int table_parser_errcb(struct libmnt_table *tb __attribute__((__unused__)
|
|||
const char *filename, int line)
|
||||
{
|
||||
if (filename)
|
||||
warnx(_("%s: parse error: ignore entry at line %d."),
|
||||
filename, line);
|
||||
warnx(_("%s: parse error at line %d -- ignored"), filename, line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -16,8 +16,7 @@ static int table_parser_errcb(struct libmnt_table *tb __attribute__((__unused__)
|
|||
const char *filename, int line)
|
||||
{
|
||||
if (filename)
|
||||
warnx(_("%s: parse error: ignore entry at line %d."),
|
||||
filename, line);
|
||||
warnx(_("%s: parse error at line %d -- ignored"), filename, line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,8 +43,7 @@ static int table_parser_errcb(struct libmnt_table *tb __attribute__((__unused__)
|
|||
const char *filename, int line)
|
||||
{
|
||||
if (filename)
|
||||
warnx(_("%s: parse error: ignore entry at line %d."),
|
||||
filename, line);
|
||||
warnx(_("%s: parse error at line %d -- ignored"), filename, line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue