projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(logout): Initialize DATA to a state that will make setutent_r happy.
[kopensolaris-gnu/glibc.git]
/
login
/
logout.c
diff --git
a/login/logout.c
b/login/logout.c
index
bf45451
..
8575512
100644
(file)
--- 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;