summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_cache.c4
-rw-r--r--source3/nsswitch/winbindd_dual.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 8c02160e02..6ba1d48f5a 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -301,8 +301,8 @@ static struct cache_entry *wcache_fetch(struct winbind_cache *cache,
extern BOOL opt_dual_daemon;
if (opt_dual_daemon) {
- extern BOOL backgroud_process;
- backgroud_process = True;
+ extern BOOL background_process;
+ background_process = True;
} else {
centry_free(centry);
return NULL;
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index d32d62edaa..a7523138ea 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -35,7 +35,7 @@
#define DBGC_CLASS DBGC_WINBIND
extern BOOL opt_dual_daemon;
-BOOL backgroud_process = False;
+BOOL background_process = False;
int dual_daemon_pipe = -1;
@@ -82,7 +82,7 @@ void dual_select(fd_set *fds)
return;
}
- n = write(dual_daemon_pipe,
+ n = sys_write(dual_daemon_pipe,
&dual_list->data[dual_list->offset],
dual_list->length - dual_list->offset);
@@ -114,7 +114,7 @@ void dual_send_request(struct winbindd_cli_state *state)
{
struct dual_list *list;
- if (!backgroud_process) return;
+ if (!background_process) return;
list = malloc(sizeof(*list));
if (!list) return;
@@ -132,7 +132,7 @@ void dual_send_request(struct winbindd_cli_state *state)
dual_list_end = list;
}
- backgroud_process = False;
+ background_process = False;
}