]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/passwd.c: Don't print the program name twice in a log entry
authorAlejandro Colomar <alx@kernel.org>
Thu, 7 Mar 2024 23:33:19 +0000 (00:33 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 14 Mar 2024 21:01:32 +0000 (16:01 -0500)
commitae3d71fb944d5d1bc64196ad6c80fc387b389892
tree41cbceff542521926ad93de0f60fc8d686b2a231
parent4959cd10ae02e6fcdcda1726befd194feebeaf16
src/passwd.c: Don't print the program name twice in a log entry

OPENLOG() already sets the program name as the prefix.

This resulted in entries like:

$ journalctl 2>/dev/null | grep passwd
Mar 03 01:09:47 debian passwd[140744]: passwd: can't view or modify password information for root

Fixes: 8e167d28afd6 ("[svn-upgrade] Integrating new upstream version, shadow (4.0.8)")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/passwd.c