summaryrefslogtreecommitdiff
path: root/libstd/spork.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libstd/spork.myr')
-rw-r--r--libstd/spork.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstd/spork.myr b/libstd/spork.myr
index 1778037..f728768 100644
--- a/libstd/spork.myr
+++ b/libstd/spork.myr
@@ -45,15 +45,15 @@ const sporkfd = {cmd, infd, outfd
elif pid == 0
/* stdin/stdout for our communication. */
if dup2(infd castto(fd), 0) != 0
- fatal(1, "unable to set stdin\n")
+ fatal("unable to set stdin\n")
;;
if dup2(outfd castto(fd), 1) != 1
- fatal(1, "unable to set stdout\n")
+ fatal("unable to set stdout\n")
;;
close(infd)
close(outfd)
execvp(cmd[0], cmd) < 0
- fatal(1, "failed to exec %s\n")
+ fatal("failed to exec %s\n")
/* parent */
else
-> `Ok pid