summaryrefslogtreecommitdiff
path: root/usr.bin/sendbug/sendbug.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2007-03-26 07:16:12 +0000
committerRay Lai <ray@cvs.openbsd.org>2007-03-26 07:16:12 +0000
commit5e9cb46132534c3b16388a19c870e4efe9d3afe0 (patch)
tree048f60b48033ba925773a25df8b5cf4e63b7c178 /usr.bin/sendbug/sendbug.c
parent00011896b9bbe350a158805a627f92aa9db2f649 (diff)
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);