summaryrefslogtreecommitdiffstats
path: root/login-utils/su-common.c
diff options
context:
space:
mode:
authorKarel Zak2012-11-22 13:53:25 +0100
committerKarel Zak2012-11-22 13:53:25 +0100
commitb03321129070954acd0083be18d170e868394da2 (patch)
treece2d0d75361892e33c4be2235fd05f136cfbb210 /login-utils/su-common.c
parentagetty: remove @ and # as default kill and erase chars (diff)
downloadkernel-qcow2-util-linux-b03321129070954acd0083be18d170e868394da2.tar.gz
kernel-qcow2-util-linux-b03321129070954acd0083be18d170e868394da2.tar.xz
kernel-qcow2-util-linux-b03321129070954acd0083be18d170e868394da2.zip
su: rename log_su to log_syslog
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/su-common.c')
-rw-r--r--login-utils/su-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/su-common.c b/login-utils/su-common.c
index 5abdc840b..cd8338088 100644
--- a/login-utils/su-common.c
+++ b/login-utils/su-common.c
@@ -139,7 +139,7 @@ current_getpwuid(void)
if SUCCESSFUL is true, they gave the correct password, etc. */
static void
-log_su (struct passwd const *pw, bool successful)
+log_syslog(struct passwd const *pw, bool successful)
{
const char *new_user, *old_user, *tty;
@@ -396,7 +396,7 @@ authenticate (const struct passwd *pw)
done:
- log_su (pw, !is_pam_failure(retval));
+ log_syslog(pw, !is_pam_failure(retval));
if (is_pam_failure(retval))
{