ctdb-common: Switch to ETIMEDOUT from ETIME
[samba.git] / ctdb / common / run_proc.c
index ee83d86da23a74458c02f07093967137f5435f9e..97895b383b9485aa5358df88c14dfaed51f9827c 100644 (file)
@@ -452,7 +452,7 @@ static void run_proc_timedout(struct tevent_req *subreq)
                return;
        }
 
-       state->result.err = ETIME;
+       state->result.err = ETIMEDOUT;
        if (state->proc->output != NULL) {
                state->output = talloc_steal(state, state->proc->output);
        }