]> git.ipfire.org Git - thirdparty/util-linux.git/commit
vipw: print only one new line when asking about shadow file
authorSami Kerola <kerolasa@iki.fi>
Mon, 14 Mar 2016 21:38:30 +0000 (21:38 +0000)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Mar 2016 13:12:31 +0000 (14:12 +0100)
commit4cd4b6879516d5b18c554c9c9b3488fbc82a7a7e
tree00fbb6e7f46747d494b20c4840247c68dbb1fde4
parent40f00b4f8e50c201647e0adb1d44bf01efbed09f
vipw: print only one new line when asking about shadow file

Commit 11b86e1733 changed printf() to puts() in favour of more simple
function, but forgot that puts() adds a new line to end of string.  That new
line is neither needed, or expected, so use fputs() that is both a simple
printing function and comes without new line side effect.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/vipw.c