chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: detect whether the system is docked, and if it is inhibit lid switch processing
[elogind.git]
/
src
/
login
/
pam-module.c
diff --git
a/src/login/pam-module.c
b/src/login/pam-module.c
index 79a9042ffd4f67845b5ce0500853ff3fff454170..195d4d574e8605aa30402835e5232b51d1e5e20c 100644
(file)
--- a/
src/login/pam-module.c
+++ b/
src/login/pam-module.c
@@
-234,7
+234,7
@@
_public_ PAM_EXTERN int pam_sm_open_session(
return PAM_SESSION_ERR;
if (debug)
return PAM_SESSION_ERR;
if (debug)
- pam_syslog(handle, LOG_
INFO
, "pam-systemd initializing");
+ pam_syslog(handle, LOG_
DEBUG
, "pam-systemd initializing");
r = get_user_data(handle, &username, &pw);
if (r != PAM_SUCCESS) {
r = get_user_data(handle, &username, &pw);
if (r != PAM_SUCCESS) {
@@
-374,7
+374,7
@@
_public_ PAM_EXTERN int pam_sm_open_session(
"uid=%u pid=%u service=%s type=%s class=%s desktop=%s seat=%s vtnr=%u tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
pw->pw_uid, getpid(),
strempty(service),
"uid=%u pid=%u service=%s type=%s class=%s desktop=%s seat=%s vtnr=%u tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
pw->pw_uid, getpid(),
strempty(service),
- type, class,
desktop
,
+ type, class,
strempty(desktop)
,
strempty(seat), vtnr, strempty(tty), strempty(display),
yes_no(remote), strempty(remote_user), strempty(remote_host));
strempty(seat), vtnr, strempty(tty), strempty(display),
yes_no(remote), strempty(remote_user), strempty(remote_host));