summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2013-07-04 03:24:58 +0000
committerKevin Lo <kevlo@FreeBSD.org>2013-07-04 03:24:58 +0000
commited74b69c2d1df2c8ef854413751a7f3de724b457 (patch)
treea31b0bdd56e9459d9c3646ace0a105fa2d4d307c /usr.bin/mail
parent411286bfe1cfcba0f746329294daa650737a9afa (diff)
downloadsrc-test-ed74b69c2d1df2c8ef854413751a7f3de724b457.tar.gz
src-test-ed74b69c2d1df2c8ef854413751a7f3de724b457.zip
Remove unnecessary cast to pid_t.
Notes
Notes: svn path=/head/; revision=252679
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 c4d17461e48d8..60a09360c9d24 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);