diff options
Diffstat (limited to 'login/logout.c')
-rw-r--r-- | login/logout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/logout.c b/login/logout.c index bf45451eef..8575512e0e 100644 --- a/login/logout.c +++ b/login/logout.c @@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ int logout (const char *line) { - struct utmp_data data; + struct utmp_data data = { ut_fd: -1 }; struct utmp tmp; struct utmp *ut; int result = 0; |