]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
su: rename log_su to log_syslog
authorKarel Zak <kzak@redhat.com>
Thu, 22 Nov 2012 12:53:25 +0000 (13:53 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 22 Nov 2012 12:53:25 +0000 (13:53 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c

index 5abdc840bedf5e5d00b39bbe8f0d7e6a2ec5491e..cd8338088d56c70d0b49556f38996097dffc9b0a 100644 (file)
@@ -139,7 +139,7 @@ current_getpwuid(void)
    if SUCCESSFUL is true, they gave the correct password, etc.  */
 
 static void
-log_s(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_s(pw, !is_pam_failure(retval));
+  log_syslog(pw, !is_pam_failure(retval));
 
   if (is_pam_failure(retval))
     {