From 05262ea49a3d428e015ef71c975231b108847b72 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 24 Feb 2003 11:24:27 +0000 Subject: Finish removing setenv replacements from smbwrapper. (This used to be commit 059ac2d839bf258408490f5ceb786a47cb5acb58) --- source3/smbwrapper/smbsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbwrapper/smbsh.c') diff --git a/source3/smbwrapper/smbsh.c b/source3/smbwrapper/smbsh.c index 2cbdc76de1..221c6d87c2 100644 --- a/source3/smbwrapper/smbsh.c +++ b/source3/smbwrapper/smbsh.c @@ -101,7 +101,7 @@ int main(int argc, char *argv[]) smbw_setshared(line, wd); slprintf(line,sizeof(line)-1,"%s/smbwrapper.so", libd); - setenv("LD_PRELOAD", line); + setenv("LD_PRELOAD", line, 1); slprintf(line,sizeof(line)-1,"%s/smbwrapper.32.so", libd); -- cgit