summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/slbt_driver_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 452cc7a..f81133e 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -632,13 +632,13 @@ int slbt_get_driver_ctx(
case TAG_WARNINGS:
if (!strcmp("all",entry->arg))
- cctx.tag = SLBT_WARNING_LEVEL_ALL;
+ cctx.warnings = SLBT_WARNING_LEVEL_ALL;
else if (!strcmp("error",entry->arg))
- cctx.tag = SLBT_WARNING_LEVEL_ERROR;
+ cctx.warnings = SLBT_WARNING_LEVEL_ERROR;
else if (!strcmp("none",entry->arg))
- cctx.tag = SLBT_WARNING_LEVEL_NONE;
+ cctx.warnings = SLBT_WARNING_LEVEL_NONE;
break;
case TAG_DEPS: