diff options
Diffstat (limited to 'src/driver/amgc_unit_ctx.c')
-rw-r--r-- | src/driver/amgc_unit_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/amgc_unit_ctx.c b/src/driver/amgc_unit_ctx.c index eb65898..6f08ad7 100644 --- a/src/driver/amgc_unit_ctx.c +++ b/src/driver/amgc_unit_ctx.c @@ -118,7 +118,7 @@ int amgc_get_unit_ctx( amgc_init_cparser_unit(); - if (!dctx || !(ctx = calloc(sizeof(*ctx),1))) + if (!dctx || !(ctx = calloc(1,sizeof(*ctx)))) return -1; if (strcmp(path,"-")) |