diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2012-04-01 17:07:45 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2012-04-01 17:07:45 -0400 |
commit | 3438b2129cd933e430349a6bd66a1933071c92c2 (patch) | |
tree | 13846c11f27fd037e4e3025cfbd9601c4ba8f975 /extension/fork.c | |
parent | 4d26f7436c0acf8617c4736f110f06e2f4531bbd (diff) | |
download | egawk-3438b2129cd933e430349a6bd66a1933071c92c2.tar.gz egawk-3438b2129cd933e430349a6bd66a1933071c92c2.tar.bz2 egawk-3438b2129cd933e430349a6bd66a1933071c92c2.zip |
Update ERRNO API.
Diffstat (limited to 'extension/fork.c')
-rw-r--r-- | extension/fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/fork.c b/extension/fork.c index 88353879..8b8558e6 100644 --- a/extension/fork.c +++ b/extension/fork.c @@ -44,7 +44,7 @@ do_fork(int nargs) ret = fork(); if (ret < 0) - update_ERRNO(); + update_ERRNO_int(errno); else if (ret == 0) { /* update PROCINFO in the child */ @@ -83,7 +83,7 @@ do_waitpid(int nargs) options = WNOHANG|WUNTRACED; ret = waitpid(pid, NULL, options); if (ret < 0) - update_ERRNO(); + update_ERRNO_int(errno); } else if (do_lint) lintwarn("wait: called with no arguments"); |