diff options
author | raf <none@none> | 2008-06-14 14:00:05 -0700 |
---|---|---|
committer | raf <none@none> | 2008-06-14 14:00:05 -0700 |
commit | 59f081ed215eb7d3fbf19cce3474b2987eaf3225 (patch) | |
tree | 24756cb37bca911533bfc314fdc93ce708876f9f /usr/src/lib/libc/port/stdio/system.c | |
parent | 10e6dadfe63181edabc58c8f42e3c56a1cd9ec95 (diff) | |
download | illumos-gate-59f081ed215eb7d3fbf19cce3474b2987eaf3225.tar.gz |
6714179 libc synonym expunging in snv_92 was too aggressive, breaking pfinstall
Diffstat (limited to 'usr/src/lib/libc/port/stdio/system.c')
-rw-r--r-- | usr/src/lib/libc/port/stdio/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libc/port/stdio/system.c b/usr/src/lib/libc/port/stdio/system.c index d27a194095..2837e96353 100644 --- a/usr/src/lib/libc/port/stdio/system.c +++ b/usr/src/lib/libc/port/stdio/system.c @@ -46,7 +46,7 @@ #include <spawn.h> #include "libc.h" -extern const char **environ; +extern const char **_environ; extern int __xpg4; /* defined in _xpg4.c; 0 if not xpg4-compiled program */ extern const sigset_t maskset; /* all maskable signals */ @@ -228,7 +228,7 @@ system(const char *cmd) argv[3] = NULL; if (error == 0) error = posix_spawn(&cu.pid, shpath, NULL, &attr, - (char *const *)argv, (char *const *)environ); + (char *const *)argv, (char *const *)_environ); (void) posix_spawnattr_destroy(&attr); |