diff --git a/src/plugins/stored/autoxflate-sd.c b/src/plugins/stored/autoxflate-sd.c index 31cf3cee7a3..58ed7109bff 100644 --- a/src/plugins/stored/autoxflate-sd.c +++ b/src/plugins/stored/autoxflate-sd.c @@ -122,7 +122,7 @@ bRC DLL_IMP_EXP loadPlugin(bsdInfo *lbinfo, /* * Get the current setting of the compatible flag. */ - bfuncs->getBareosValue(NULL, bsdCompatible, (void *)&sd_enabled_compatible); + bfuncs->getBareosValue(NULL, bsdVarCompatible, (void *)&sd_enabled_compatible); return bRC_OK; } diff --git a/src/stored/sd_plugins.c b/src/stored/sd_plugins.c index 1d79f1ad64f..467ca4ad7ed 100644 --- a/src/stored/sd_plugins.c +++ b/src/stored/sd_plugins.c @@ -487,9 +487,9 @@ static bRC bareosGetValue(bpContext *ctx, bsdrVariable var, void *value) } switch (var) { /* General variables, no need of ctx */ - case bsdCompatible: + case bsdVarCompatible: *((bool *)value) = me->compatible; - Dmsg1(dbglvl, "Bareos: return Compatible=%s\n", (me->compatible) ? "true" : "false"); + Dmsg1(dbglvl, "sd-plugin: return bsdVarCompatible=%s\n", (me->compatible) ? "true" : "false"); break; default: break; @@ -511,7 +511,7 @@ static bRC bareosGetValue(bpContext *ctx, bsdrVariable var, void *value) break; case bsdVarJobName: *((char **)value) = jcr->Job; - Dmsg1(dbglvl, "Bareos: return Job name=%s\n", jcr->Job); + Dmsg1(dbglvl, "sd-plugin: return Job name=%s\n", jcr->Job); break; default: break; diff --git a/src/stored/sd_plugins.h b/src/stored/sd_plugins.h index d1d126d9c14..138d4e27e2b 100644 --- a/src/stored/sd_plugins.h +++ b/src/stored/sd_plugins.h @@ -78,7 +78,7 @@ typedef enum { bsdVarSDErrors = 19, bsdVarFDJobStatus = 20, bsdVarSDJobStatus = 21, - bsdCompatible = 22 + bsdVarCompatible = 22 } bsdrVariable; /*