projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a60a93
)
(login): Initialize DATA so that setutent_r will actually do something.
author
Miles Bader
<miles@gnu.org>
Sat, 29 Jun 1996 03:37:49 +0000
(
03:37
+0000)
committer
Miles Bader
<miles@gnu.org>
Sat, 29 Jun 1996 03:37:49 +0000
(
03:37
+0000)
login/login.c
patch
|
blob
|
history
diff --git
a/login/login.c
b/login/login.c
index
ede02d7
..
ea1a947
100644
(file)
--- a/
login/login.c
+++ b/
login/login.c
@@
-86,7
+86,7
@@
login (const struct utmp *ut)
char *tty = _tty;
int found_tty;
const char *ttyp;
- struct utmp_data data;
+ struct utmp_data data
= { -1 }
;
/* Seek tty. */
found_tty = tty_name (STDIN_FILENO, &tty, sizeof (_tty));