summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c8
1 files changed, 4 insertions, 4 deletions
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;
}