From 11b86e17332be81c04674eea6d8b20922d0bfe54 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 14 Mar 2016 16:02:06 +0100 Subject: [PATCH] vipw: use puts() when formatting unnecessary Signed-off-by: Karel Zak --- login-utils/vipw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/login-utils/vipw.c b/login-utils/vipw.c index 066fee0052..b8e5b47c15 100644 --- a/login-utils/vipw.c +++ b/login-utils/vipw.c @@ -343,9 +343,10 @@ int main(int argc, char *argv[]) if (access(orig_file, F_OK) == 0) { char response[80]; - printf("%s", (program == VIGR) + puts((program == VIGR) ? _("You are using shadow groups on this system.\n") : _("You are using shadow passwords on this system.\n")); + /* TRANSLATORS: this program uses for y and n rpmatch(3), * which means they can be translated. */ printf(_("Would you like to edit %s now [y/n]? "), orig_file); -- 2.39.5