summaryrefslogtreecommitdiffstats
path: root/usr.bin/sendbug/sendbug.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2007-03-26 07:16:11 +0000
committerray <ray@openbsd.org>2007-03-26 07:16:11 +0000
commitecdc3c8b25e1328182a38fcf3c1d09758c401dc8 (patch)
treebd3e1b058f7402c72cdd0585c9ea0f4fe50dfdac /usr.bin/sendbug/sendbug.c
parentBreak on waitpid success; we shouldn't continue on WIFSIGNALED, and (diff)
downloadwireguard-openbsd-ecdc3c8b25e1328182a38fcf3c1d09758c401dc8.tar.xz
wireguard-openbsd-ecdc3c8b25e1328182a38fcf3c1d09758c401dc8.zip
Remove pointless cast. No binary change.
Diffstat (limited to 'usr.bin/sendbug/sendbug.c')
-rw-r--r--usr.bin/sendbug/sendbug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sendbug/sendbug.c b/usr.bin/sendbug/sendbug.c
index bbef22d10cc..caf6923d6e7 100644
--- a/usr.bin/sendbug/sendbug.c
+++ b/usr.bin/sendbug/sendbug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sendbug.c,v 1.29 2007/03/26 07:06:03 ray Exp $ */
+/* $OpenBSD: sendbug.c,v 1.30 2007/03/26 07:16:11 ray Exp $ */
/*
* Written by Ray Lai <ray@cyth.net>.
@@ -204,7 +204,7 @@ editit(char *tmpfile)
}
free(p);
for (;;) {
- xpid = waitpid(pid, (int *)&st, WUNTRACED);
+ xpid = waitpid(pid, &st, WUNTRACED);
if (xpid == -1) {
if (errno != EINTR)
return (-1);