summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/sys/execv.c
diff options
context:
space:
mode:
authorraf <none@none>2008-06-14 14:00:05 -0700
committerraf <none@none>2008-06-14 14:00:05 -0700
commit59f081ed215eb7d3fbf19cce3474b2987eaf3225 (patch)
tree24756cb37bca911533bfc314fdc93ce708876f9f /usr/src/lib/libc/port/sys/execv.c
parent10e6dadfe63181edabc58c8f42e3c56a1cd9ec95 (diff)
downloadillumos-joyent-59f081ed215eb7d3fbf19cce3474b2987eaf3225.tar.gz
6714179 libc synonym expunging in snv_92 was too aggressive, breaking pfinstall
Diffstat (limited to 'usr/src/lib/libc/port/sys/execv.c')
-rw-r--r--usr/src/lib/libc/port/sys/execv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libc/port/sys/execv.c b/usr/src/lib/libc/port/sys/execv.c
index 1458d3c2b2..eefd5bc927 100644
--- a/usr/src/lib/libc/port/sys/execv.c
+++ b/usr/src/lib/libc/port/sys/execv.c
@@ -46,6 +46,6 @@
int
execv(const char *file, char *const argv[])
{
- extern char **environ;
- return (execve(file, argv, environ));
+ extern char **_environ;
+ return (execve(file, argv, _environ));
}