diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-06 15:33:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-06 15:33:32 +0000 |
commit | d84517fefb6c54f2cb4de3a290c90fb8a74deae7 (patch) | |
tree | fd6ac12e49db1d907849d7540f182e6658fc4eb0 /libexec | |
parent | b97786f0433582ad3a0332ccd55dbdbe015b2c57 (diff) |
memset
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/telnetd/utility.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c index ee7695b3496..e6746badd9f 100644 --- a/libexec/telnetd/utility.c +++ b/libexec/telnetd/utility.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utility.c,v 1.4 1996/12/06 15:26:28 deraadt Exp $ */ +/* $OpenBSD: utility.c,v 1.5 1996/12/06 15:33:31 deraadt Exp $ */ /* $NetBSD: utility.c,v 1.9 1996/02/28 20:38:29 thorpej Exp $ */ /* @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)utility.c 8.4 (Berkeley) 5/30/95"; static char rcsid[] = "$NetBSD: utility.c,v 1.9 1996/02/28 20:38:29 thorpej Exp $"; #else -static char rcsid[] = "$OpenBSD: utility.c,v 1.4 1996/12/06 15:26:28 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: utility.c,v 1.5 1996/12/06 15:33:31 deraadt Exp $"; #endif #endif /* not lint */ @@ -102,7 +102,7 @@ stilloob(s) do { FD_ZERO(&excepts); FD_SET(s, &excepts); - bzero(&timeout, sizeof timeout); + memset((char *)&timeout, 0, sizeof timeout); value = select(s+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout); } while ((value == -1) && (errno == EINTR)); |