summaryrefslogtreecommitdiff
path: root/src/utmp-wtmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utmp-wtmp.c')
-rw-r--r--src/utmp-wtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utmp-wtmp.c b/src/utmp-wtmp.c
index 5aafb7b722..d7cda82d5a 100644
--- a/src/utmp-wtmp.c
+++ b/src/utmp-wtmp.c
@@ -291,7 +291,7 @@ finish:
int utmp_wall(const char *message) {
struct utmpx *u;
char date[26];
- char *text, *hn, *un, *tty;
+ char *text = NULL, *hn = NULL, *un = NULL, *tty = NULL;
int r;
time_t t;