summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbsh.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-24 11:24:27 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-24 11:24:27 +0000
commit05262ea49a3d428e015ef71c975231b108847b72 (patch)
treea109dc049875a26cbf7a67abd2b8dde271b910f8 /source3/smbwrapper/smbsh.c
parent426cd68f74bb0490df54da500d3d9c1ea475e16f (diff)
downloadsamba-05262ea49a3d428e015ef71c975231b108847b72.tar.gz
samba-05262ea49a3d428e015ef71c975231b108847b72.tar.bz2
samba-05262ea49a3d428e015ef71c975231b108847b72.zip
Finish removing setenv replacements from smbwrapper.
(This used to be commit 059ac2d839bf258408490f5ceb786a47cb5acb58)
Diffstat (limited to 'source3/smbwrapper/smbsh.c')
-rw-r--r--source3/smbwrapper/smbsh.c2
1 files changed, 1 insertions, 1 deletions
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);