summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2013-07-04 03:24:58 +0000
committerkevlo <kevlo@FreeBSD.org>2013-07-04 03:24:58 +0000
commit67f40d0cd39e244cabb915e7828711647be1f159 (patch)
treea31b0bdd56e9459d9c3646ace0a105fa2d4d307c /usr.bin/mail
parent203bc3246b7e51256792c2b4884fb0c5d63cf205 (diff)
downloadFreeBSD-src-67f40d0cd39e244cabb915e7828711647be1f159.zip
FreeBSD-src-67f40d0cd39e244cabb915e7828711647be1f159.tar.gz
Remove unnecessary cast to pid_t.
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/popen.c b/usr.bin/mail/popen.c
index c4d1746..60a0936 100644
--- a/usr.bin/mail/popen.c
+++ b/usr.bin/mail/popen.c
@@ -316,7 +316,7 @@ sigchild(int signo __unused)
int status;
struct child *cp;
- while ((pid = waitpid((pid_t)-1, &status, WNOHANG)) > 0) {
+ while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
cp = findchild(pid);
if (cp->free)
delchild(cp);
OpenPOWER on IntegriCloud