diff options
author | ache <ache@FreeBSD.org> | 1994-11-29 01:11:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-29 01:11:43 +0000 |
commit | c86bd43a842dd8ead831909bae8c98f68cedee12 (patch) | |
tree | 9ba8252a0be976b714090c68967769d8421d20eb /usr.bin | |
parent | c88ae84584ac881b623d6aae4656d99aa1d6e86c (diff) | |
download | FreeBSD-src-c86bd43a842dd8ead831909bae8c98f68cedee12.zip FreeBSD-src-c86bd43a842dd8ead831909bae8c98f68cedee12.tar.gz |
Get rid of gets
Submitted by: Ollivier Robert
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tn3270/sys_curses/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tn3270/sys_curses/system.c b/usr.bin/tn3270/sys_curses/system.c index 14a99bd..9e1be33 100644 --- a/usr.bin/tn3270/sys_curses/system.c +++ b/usr.bin/tn3270/sys_curses/system.c @@ -604,7 +604,7 @@ child_died(code) } printf("[Hit return to continue]"); fflush(stdout); - (void) gets(inputbuffer); + (void) fgets(inputbuffer, sizeof(inputbuffer), stdin); setconnmode(); ConnectScreen(); /* Turn screen on (if need be) */ (void) close(serversock); |