summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/amgc_driver_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c
index ffe319d..df149e9 100644
--- a/src/driver/amgc_driver_ctx.c
+++ b/src/driver/amgc_driver_ctx.c
@@ -77,7 +77,7 @@ static struct amgc_driver_ctx_impl * amgc_driver_ctx_alloc(
struct amgc_action * actions;
size_t size;
struct argv_entry * entry;
- const char ** units;
+ const char ** aunits;
size = sizeof(struct amgc_driver_ctx_alloc);
size += (nunits+1)*sizeof(const char *);
@@ -93,9 +93,9 @@ static struct amgc_driver_ctx_impl * amgc_driver_ctx_alloc(
if (cctx)
memcpy(&ictx->ctx.cctx,cctx,sizeof(*cctx));
- for (entry=meta->entries,units=ictx->units; entry->fopt || entry->arg; entry++)
+ for (entry=meta->entries,aunits=ictx->units; entry->fopt || entry->arg; entry++)
if (!entry->fopt)
- *units++ = entry->arg;
+ *aunits++ = entry->arg;
ictx->meta = meta;
ictx->ctx.fdtmpin = -1;