summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream.c2
-rw-r--r--sysif.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index 659052bf..5ece9d9d 100644
--- a/stream.c
+++ b/stream.c
@@ -4517,7 +4517,7 @@ static val run(val command, val args)
uw_simple_catch_begin;
- fds_swizzle(&sfds, FDS_IN | FDS_OUT | FDS_ERR);
+ fds_swizzle(&sfds, FDS_IN | FDS_OUT | FDS_ERR, self);
if (nargs < 0 || nargs == INT_MAX)
uw_throwf(error_s, lit("~a: argument list overflow"), self, nao);
diff --git a/sysif.c b/sysif.c
index 5830ffc0..f636d4f1 100644
--- a/sysif.c
+++ b/sysif.c
@@ -1809,6 +1809,7 @@ static val getpwent_wrap(void)
static val getpwuid_wrap(val uid)
{
+ val self = lit("getpwuid");
struct passwd *p = getpwuid(c_num(uid, self));
return (p != 0) ? make_pwstruct(p) : nil;
}