chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vala: hide a few vala warnings
[elogind.git]
/
utmp-wtmp.c
diff --git
a/utmp-wtmp.c
b/utmp-wtmp.c
index 0cc9ceca84b3014b2a36c6ddd07736c5021713e7..cb3f201322edbef648ca68b7bf5cb8933d231711 100644
(file)
--- a/
utmp-wtmp.c
+++ b/
utmp-wtmp.c
@@
-179,7
+179,7
@@
int utmp_put_reboot(usec_t timestamp) {
init_entry(&store, timestamp);
store.ut_type = BOOT_TIME;
- strncpy(store.ut_user, "reboot", sizeof(store.ut_
type
));
+ strncpy(store.ut_user, "reboot", sizeof(store.ut_
user
));
return write_entry_both(&store);
}