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: add .ScheduleShutdown and .CancelScheduledShutdown methods
[elogind.git]
/
src
/
login
/
pam_elogind.c
diff --git
a/src/login/pam_elogind.c
b/src/login/pam_elogind.c
index 226d380547f82eb2fcab95327bbe38e07aa51c2d..1eecbf9d68df05fc742c62f13bfc1d827a3c8eec 100644
(file)
--- a/
src/login/pam_elogind.c
+++ b/
src/login/pam_elogind.c
@@
-41,6
+41,7
@@
#include "fileio.h"
#include "bus-error.h"
#include "formats-util.h"
#include "fileio.h"
#include "bus-error.h"
#include "formats-util.h"
+#include "terminal-util.h"
static int parse_argv(
pam_handle_t *handle,
static int parse_argv(
pam_handle_t *handle,
@@
-335,7
+336,7
@@
_public_ PAM_EXTERN int pam_sm_open_session(
/* If this fails vtnr will be 0, that's intended */
if (!isempty(cvtnr))
/* If this fails vtnr will be 0, that's intended */
if (!isempty(cvtnr))
- safe_atou32(cvtnr, &vtnr);
+
(void)
safe_atou32(cvtnr, &vtnr);
if (!isempty(display) && !vtnr) {
if (isempty(seat))
if (!isempty(display) && !vtnr) {
if (isempty(seat))