diff options
author | Elrond <elrond@samba.org> | 2000-04-04 13:42:13 +0000 |
---|---|---|
committer | Elrond <elrond@samba.org> | 2000-04-04 13:42:13 +0000 |
commit | abc97536537b6c3fcd2c541301cb82f13740644c (patch) | |
tree | b242a6a21d8562a119b1b2936ada521319660659 | |
parent | 3729562638d732e67db5401ad881a287813dc54e (diff) | |
download | samba-abc97536537b6c3fcd2c541301cb82f13740644c.tar.gz |
Straight from HEAD:
> Fix for compiler warning about invalid structure type.
> jeremy.
-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 6bdb631662c..142a34edcbb 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -2209,7 +2209,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; |