summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-12 00:22:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-12 00:22:16 +0000
commit30410c71a1b43e0c20155ea024aba695beef72dd (patch)
treec2a0382a7fa99f1e2ac8287cb2eef3d6855c689e /beos
parent72b034c3d570488f2819babae91d2f75fe711c95 (diff)
downloadperl-30410c71a1b43e0c20155ea024aba695beef72dd.tar.gz
This time I test compiled. Honest.
p4raw-id: //depot/perl@13636
Diffstat (limited to 'beos')
-rw-r--r--beos/beos.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/beos/beos.c b/beos/beos.c
index a9f6f38a96..ca562039ca 100644
--- a/beos/beos.c
+++ b/beos/beos.c
@@ -1,3 +1,5 @@
+#include "beosish.h"
+
#undef waitpid
#include <sys/wait.h>
@@ -9,8 +11,8 @@
* of this, though.) */
pid_t beos_waitpid(pid_t process_id, int *status_location, int options) {
- pid_t got = waitpid(procedd_is, status_location, options);
+ pid_t got = waitpid(process_id, status_location, options);
if (status_location)
- *status_location <<= 8;
+ *status_location <<= 8; /* What about the POSIX low bits? */
return got;
}