From 9763b48cefcda4e8a5b95bed4d4f25fc01ae7297 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Tue, 5 Feb 2013 14:55:11 -0800 Subject: [PATCH] Fix slurmctld plugstack type --- src/slurmctld/slurmctld_plugstack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slurmctld/slurmctld_plugstack.c b/src/slurmctld/slurmctld_plugstack.c index b2e8f0ebb0b..05dd891a0c4 100644 --- a/src/slurmctld/slurmctld_plugstack.c +++ b/src/slurmctld/slurmctld_plugstack.c @@ -121,9 +121,9 @@ extern int slurmctld_plugstack_init(void) (g_context_cnt + 1))); xrealloc(g_context, (sizeof(plugin_context_t *) * (g_context_cnt + 1))); - if (strncmp(type, "slurmctld_plugstack/", 20) == 0) - type += 20; /* backward compatibility */ - type = xstrdup_printf("slurmctld_plugstack/%s", type); + if (strncmp(type, "slurmctld/", 10) == 0) + type += 10; /* backward compatibility */ + type = xstrdup_printf("slurmctld/%s", type); g_context[g_context_cnt] = plugin_context_create( plugin_type, type, (void **)&ops[g_context_cnt], syms, sizeof(syms)); -- GitLab