[PATCH] Fix the O3 developer build
Jeremy Allison
jra at samba.org
Fri Aug 12 18:29:07 UTC 2016
On Fri, Aug 12, 2016 at 01:19:57PM +0200, Volker Lendecke wrote:
> Hi!
>
> Review appreciated!
>
> Thanks, Volker
LGTM. Pushed !
> From 4dc30bbdb4d85789335f3f37ded1bee0ebd2a43a Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <vl at samba.org>
> Date: Fri, 12 Aug 2016 13:18:19 +0200
> Subject: [PATCH] ctdb: Fix the O3 developer build on RHEL7
>
> Signed-off-by: Volker Lendecke <vl at samba.org>
> ---
> ctdb/tools/ctdb.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
> index 67ca2ea..8d9af15 100644
> --- a/ctdb/tools/ctdb.c
> +++ b/ctdb/tools/ctdb.c
> @@ -4762,6 +4762,8 @@ static int control_scriptstatus(TALLOC_CTX *mem_ctx, struct ctdb_context *ctdb,
> }
>
> valid = false;
> + end = 0;
> +
> for (i=0; i<ARRAY_SIZE(all_events); i++) {
> if (strcmp(event_str, all_events[i]) == 0) {
> valid = true;
> --
> 2.1.4
>
More information about the samba-technical
mailing list