diff options
Diffstat (limited to 'src/firejail/fs_var.c')
-rw-r--r-- | src/firejail/fs_var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_var.c b/src/firejail/fs_var.c index 9523875d7..ad5ee6759 100644 --- a/src/firejail/fs_var.c +++ b/src/firejail/fs_var.c | |||
@@ -300,7 +300,7 @@ void fs_var_utmp(void) { | |||
300 | 300 | ||
301 | // read current utmp | 301 | // read current utmp |
302 | struct utmp *u; | 302 | struct utmp *u; |
303 | struct utmp u_boot; | 303 | struct utmp u_boot = {0}; |
304 | setutent(); | 304 | setutent(); |
305 | while ((u = getutent()) != NULL) { | 305 | while ((u = getutent()) != NULL) { |
306 | if (u->ut_type == BOOT_TIME) { | 306 | if (u->ut_type == BOOT_TIME) { |