summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 0e17b015e9..1e676a5aec 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -561,7 +561,7 @@ static int save_reload(int snum)
FILE *f;
struct stat st;
- f = sys_fopen(get_dyn_CONFIGFILE(),"w");
+ f = fopen(get_dyn_CONFIGFILE(),"w");
if (!f) {
printf(_("failed to open %s for writing"), get_dyn_CONFIGFILE());
printf("\n");