summaryrefslogtreecommitdiffstats
path: root/login-utils/vipw.c
diff options
context:
space:
mode:
authorKarel Zak2016-03-14 16:02:06 +0100
committerKarel Zak2016-03-14 16:02:17 +0100
commit11b86e17332be81c04674eea6d8b20922d0bfe54 (patch)
tree09c79089bd59fecdb9aa6b84a1d0a7ab09c290c9 /login-utils/vipw.c
parentMerge branch 'travis-osx' of https://github.com/rudimeier/util-linux (diff)
downloadkernel-qcow2-util-linux-11b86e17332be81c04674eea6d8b20922d0bfe54.tar.gz
kernel-qcow2-util-linux-11b86e17332be81c04674eea6d8b20922d0bfe54.tar.xz
kernel-qcow2-util-linux-11b86e17332be81c04674eea6d8b20922d0bfe54.zip
vipw: use puts() when formatting unnecessary
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/vipw.c')
-rw-r--r--login-utils/vipw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/login-utils/vipw.c b/login-utils/vipw.c
index 066fee005..b8e5b47c1 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);