(logout): Initialize DATA to a state that will make setutent_r happy.

This commit is contained in:
Miles Bader 1996-07-15 16:25:44 +00:00
parent 391763e755
commit 405e5e339e

View File

@ -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;