From: Karel Zak Date: Mon, 14 Mar 2016 15:02:06 +0000 (+0100) Subject: vipw: use puts() when formatting unnecessary X-Git-Tag: v2.28-rc2~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b86e1733;p=thirdparty%2Futil-linux.git vipw: use puts() when formatting unnecessary Signed-off-by: Karel Zak --- 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);