summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/popen.c')
-rw-r--r--lib/libc/stdio/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/popen.c b/lib/libc/stdio/popen.c
index 1fd5f991..5720fba3 100644
--- a/lib/libc/stdio/popen.c
+++ b/lib/libc/stdio/popen.c
@@ -62,7 +62,7 @@ FILE *popen(const char *command, const char *mode)
close(pipefd[0]);
}
- __FILE(stream)->pid = pid;
+ stream->pid = pid;
return stream;
}