Use correct gettext macro with sudo_warnx()
This commit is contained in:
@@ -1051,10 +1051,10 @@ export_sudoers(const char *sudoers_path, const char *export_path,
|
|||||||
if (parse_error) {
|
if (parse_error) {
|
||||||
if (!quiet) {
|
if (!quiet) {
|
||||||
if (errorlineno != -1)
|
if (errorlineno != -1)
|
||||||
sudo_warnx(_("parse error in %s near line %d\n"),
|
sudo_warnx(U_("parse error in %s near line %d\n"),
|
||||||
errorfile, errorlineno);
|
errorfile, errorlineno);
|
||||||
else if (errorfile != NULL)
|
else if (errorfile != NULL)
|
||||||
sudo_warnx(_("parse error in %s\n"), errorfile);
|
sudo_warnx(U_("parse error in %s\n"), errorfile);
|
||||||
}
|
}
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user