From 389acb44d79857eb39b2afaeb8e410f6da93dcfc Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 29 Dec 2015 05:15:05 -0500 Subject: driver: added driver-level handling of stdin. --- src/driver/amgc_driver_ctx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/driver/amgc_driver_ctx.c') diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c index bef0c44..35d3899 100644 --- a/src/driver/amgc_driver_ctx.c +++ b/src/driver/amgc_driver_ctx.c @@ -89,6 +89,7 @@ static struct amgc_driver_ctx_impl * amgc_driver_ctx_alloc( *units++ = entry->arg; ictx->meta = meta; + ictx->ctx.fdtmpin = -1; ictx->ctx.ctx.units = ictx->units; return &ictx->ctx; } -- cgit v1.2.3