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/libsmb | |
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/libsmb')
-rw-r--r-- | source/libsmb/namequery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c index 1398f7bc492..149b977746c 100644 --- a/source/libsmb/namequery.c +++ b/source/libsmb/namequery.c @@ -332,7 +332,7 @@ struct in_addr *name_query(int fd,const char *name,int name_type, BOOL bcast,BOO FILE *startlmhosts(char *fname) { - FILE *fp = fopen(fname,"r"); + FILE *fp = sys_fopen(fname,"r"); if (!fp) { DEBUG(4,("startlmhosts: Can't open lmhosts file %s. Error was %s\n", fname, strerror(errno))); |