diff options
author | 2002-02-14 22:43:03 +0000 | |
---|---|---|
committer | 2002-02-14 22:43:03 +0000 | |
commit | 8481fc67a812acf0bcf6403411d9e6e9060657d4 (patch) | |
tree | 46dccdbf8e0c9307026400a346e69a876ca42fa9 | |
parent | Avoid overflow in usage percent calculation. ok deraadt@ (diff) | |
download | wireguard-openbsd-8481fc67a812acf0bcf6403411d9e6e9060657d4.tar.xz wireguard-openbsd-8481fc67a812acf0bcf6403411d9e6e9060657d4.zip |
Try to initialize variables correctly, that usually helps.
-rw-r--r-- | regress/sys/kern/accept/accept.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/accept/accept.c b/regress/sys/kern/accept/accept.c index 2974142733c..354ac8f5a37 100644 --- a/regress/sys/kern/accept/accept.c +++ b/regress/sys/kern/accept/accept.c @@ -1,4 +1,4 @@ -/* $OpenBSD: accept.c,v 1.1 2002/02/11 15:40:31 art Exp $ */ +/* $OpenBSD: accept.c,v 1.2 2002/02/14 22:43:03 art Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain. */ @@ -30,7 +30,7 @@ main(argc, argv) int csunlen; int fd, lastfd; int status; - int ischild; + int ischild = 0; /* * Create the listen socket. |