chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: stop using canonicalize_file_name(), use chase_symlinks() instead
[elogind.git]
/
src
/
login
/
logind-utmp.c
diff --git
a/src/login/logind-utmp.c
b/src/login/logind-utmp.c
index 917aa72aa2fbed0a30797e596daf157f1dbd5c95..4fe5ff0144f2caf3b62e263ca907bf1feec72f80 100644
(file)
--- a/
src/login/logind-utmp.c
+++ b/
src/login/logind-utmp.c
@@
-29,7
+29,7
@@
#include "bus-common-errors.h"
#include "bus-error.h"
#include "bus-util.h"
#include "bus-common-errors.h"
#include "bus-error.h"
#include "bus-util.h"
-#include "format
s
-util.h"
+#include "format-util.h"
#include "logind.h"
//#include "special.h"
#include "strv.h"
#include "logind.h"
//#include "special.h"
#include "strv.h"
@@
-74,7
+74,7
@@
bool logind_wall_tty_filter(const char *tty, void *userdata) {
static int warn_wall(Manager *m, usec_t n) {
char date[FORMAT_TIMESTAMP_MAX] = {};
_cleanup_free_ char *l = NULL;
static int warn_wall(Manager *m, usec_t n) {
char date[FORMAT_TIMESTAMP_MAX] = {};
_cleanup_free_ char *l = NULL;
-
bool
left;
+
usec_t
left;
int r;
assert(m);
int r;
assert(m);
@@
-148,7
+148,6
@@
int manager_setup_wall_message_timer(Manager *m) {
if (!m->enable_wall_messages)
return 0;
#endif // 1
if (!m->enable_wall_messages)
return 0;
#endif // 1
-
n = now(CLOCK_REALTIME);
elapse = m->scheduled_shutdown_timeout;
n = now(CLOCK_REALTIME);
elapse = m->scheduled_shutdown_timeout;