summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 449f63a..77c505a 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1136,11 +1136,11 @@ int slbt_get_driver_ctx(
break;
case TAG_SHARED:
- cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_STATIC;
+ cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC;
break;
case TAG_STATIC:
- cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_SHARED;
+ cctx.drvflags |= SLBT_DRIVER_DISABLE_SHARED;
break;
}
}