diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-24 10:35:24 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-24 10:35:24 +0000 |
commit | 2f0c70efb2c4b5b01eb073f5d5217108b4ca438f (patch) | |
tree | 54c433b2ae69e533ae11fe20f30242053112b17c | |
parent | 9c6d78c54c7f420903767f17659e9ce8d7002dbf (diff) | |
download | samba-2f0c70efb2c4b5b01eb073f5d5217108b4ca438f.tar.gz samba-2f0c70efb2c4b5b01eb073f5d5217108b4ca438f.tar.bz2 samba-2f0c70efb2c4b5b01eb073f5d5217108b4ca438f.zip |
setenv takes 3 arguments...
(This used to be commit 6d18f64ef518cbb3d522cf1f92dc5cbc2e2cb642)
-rw-r--r-- | source3/smbwrapper/smbsh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbwrapper/smbsh.c b/source3/smbwrapper/smbsh.c index d853aa1afc..845d1d5606 100644 --- a/source3/smbwrapper/smbsh.c +++ b/source3/smbwrapper/smbsh.c @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) smbw_setshared("PASSWORD", p); } - setenv("PS1", "smbsh$ "); + setenv("PS1", "smbsh$ ", 1); sys_getwd(wd); @@ -107,12 +107,12 @@ int main(int argc, char *argv[]) if (file_exist(line, NULL)) { slprintf(line,sizeof(line)-1,"%s/smbwrapper.32.so:DEFAULT", libd); - setenv("_RLD_LIST", line); + setenv("_RLD_LIST", line, 1); slprintf(line,sizeof(line)-1,"%s/smbwrapper.so:DEFAULT", libd); - setenv("_RLDN32_LIST", line); + setenv("_RLDN32_LIST", line, 1); } else { slprintf(line,sizeof(line)-1,"%s/smbwrapper.so:DEFAULT", libd); - setenv("_RLD_LIST", line); + setenv("_RLD_LIST", line, 1); } { |