diff options
author | Jeremy Allison <jra@samba.org> | 2000-04-03 23:06:03 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-04-03 23:06:03 +0000 |
commit | 58a16e2718e6400fe9f20d61990818f2d146042f (patch) | |
tree | c3c051c64531a2707f075c09e05271c94451ab3b /source/param | |
parent | efbb327ff94aeb4ee18a73b169007dfe8a139b02 (diff) | |
download | samba-58a16e2718e6400fe9f20d61990818f2d146042f.tar.gz samba-58a16e2718e6400fe9f20d61990818f2d146042f.tar.xz samba-58a16e2718e6400fe9f20d61990818f2d146042f.zip |
Fix for compiler warning about invalid structure type.
jeremy.
Diffstat (limited to 'source/param')
-rw-r--r-- | source/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index a3b54376cca..e0cf808b572 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -2061,7 +2061,7 @@ static BOOL handle_source_env(char *pszParmValue,char **ptr) /* * Ensure this file is owned by root and not writable by world. */ - if(fstat(fileno(env), &st) != 0) { + if(sys_fstat(fileno(env), &st) != 0) { DEBUG(0,("handle_source_env: Failed to stat file %s, Error was %s\n", fname, strerror(errno) )); fclose(env); return False; |