git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3729562
)
Straight from HEAD:
author
Elrond
<elrond@samba.org>
Tue, 4 Apr 2000 13:42:13 +0000
(13:42 +0000)
committer
Elrond
<elrond@samba.org>
Tue, 4 Apr 2000 13:42:13 +0000
(13:42 +0000)
> Fix for compiler warning about invalid structure type.
> jeremy.
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index 6bdb631662cb3c357152b065155b55b0c282a9b3..142a34edcbbe919aee72aef5a0c5084169108920 100644
(file)
--- 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;