summaryrefslogtreecommitdiffhomepage
path: root/src/driver/mdso_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/mdso_driver_ctx.c')
-rw-r--r--src/driver/mdso_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/mdso_driver_ctx.c b/src/driver/mdso_driver_ctx.c
index 14f1e75..aec63a6 100644
--- a/src/driver/mdso_driver_ctx.c
+++ b/src/driver/mdso_driver_ctx.c
@@ -75,7 +75,7 @@ static struct mdso_driver_ctx_impl * mdso_driver_ctx_alloc(
size = sizeof(struct mdso_driver_ctx_alloc);
size += (nunits+1)*sizeof(const char *);
- if (!(ictx = calloc(size,1)))
+ if (!(ictx = calloc(1,size)))
return 0;
if (cctx)