diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-17 20:50:07 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-17 20:50:07 +0000 |
commit | 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac (patch) | |
tree | 4ac25cab78948bd6a334a552d884869443d2d8c2 /source/smbwrapper/shared.c | |
parent | 2a98135bbc759ab334d76cce98ea673871445db1 (diff) | |
download | samba-18ff93a9abbf68ee8c59c0af3e57c63e4a015dac.tar.gz samba-18ff93a9abbf68ee8c59c0af3e57c63e4a015dac.tar.xz samba-18ff93a9abbf68ee8c59c0af3e57c63e4a015dac.zip |
Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
Tidied up some of the mess (no other word for it). Still doesn't
compile cleanly. There are calls with incorrect parameters that
don't seem to be doing the right thing.
This code still needs surgery :-(.
Jeremy.
Diffstat (limited to 'source/smbwrapper/shared.c')
-rw-r--r-- | source/smbwrapper/shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbwrapper/shared.c b/source/smbwrapper/shared.c index 2ee019b2dcb..f679e4a8a8c 100644 --- a/source/smbwrapper/shared.c +++ b/source/smbwrapper/shared.c @@ -40,7 +40,7 @@ void smbw_setup_shared(void) fstrcpy(name,(char *)mktemp(s)); /* note zero permissions! don't change this */ - fd = open(name,O_RDWR|O_CREAT|O_TRUNC|O_EXCL,0); + fd = sys_open(name,O_RDWR|O_CREAT|O_TRUNC|O_EXCL,0); if (fd == -1) goto failed; unlink(name); |