chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TODO: add "debug" kernel cmdline switch
[elogind.git]
/
src
/
update-utmp
/
update-utmp.c
diff --git
a/src/update-utmp/update-utmp.c
b/src/update-utmp/update-utmp.c
index a311280c2792fc62777c7cfd878337a82bf14127..9184025554f03dc162c1096562aa1e81df496434 100644
(file)
--- a/
src/update-utmp/update-utmp.c
+++ b/
src/update-utmp/update-utmp.c
@@
-313,11
+313,10
@@
static int on_runlevel(Context *c) {
int main(int argc, char *argv[]) {
int r;
DBusError error;
- Context c;
+ Context c
= {}
;
dbus_error_init(&error);
- zero(c);
#ifdef HAVE_AUDIT
c.audit_fd = -1;
#endif