summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-04 05:02:19 -0400
committermidipix <writeonce@midipix.org>2018-08-04 05:21:03 -0400
commit2dfa014f328f366d1f78481d9f91c76df5b5007a (patch)
treeff12454b64c8cceb1966e548dee81bf6612abb74 /src/driver
parentd4f88d42725956c3aa6d9c6e83e70729c1a938e8 (diff)
downloadsofort-2dfa014f328f366d1f78481d9f91c76df5b5007a.tar.bz2
sofort-2dfa014f328f366d1f78481d9f91c76df5b5007a.tar.xz
output interfaces: revised API and implementation to use fdctx and pure fdio.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/sfrt_amain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/sfrt_amain.c b/src/driver/sfrt_amain.c
index c37f77d..9a2c1dc 100644
--- a/src/driver/sfrt_amain.c
+++ b/src/driver/sfrt_amain.c
@@ -48,10 +48,10 @@ static void sfrt_perform_unit_actions(
uint64_t flags = dctx->cctx->actflags; /* dummy */
/* dummy */
if (flags & SFRT_OUTPUT_NAME) /* dummy */
- sfrt_output_name(uctx,stdout); /* dummy */
+ sfrt_output_name(dctx,uctx); /* dummy */
/* dummy */
if (flags & SFRT_OUTPUT_ADDRESS) /* dummy */
- sfrt_output_address(uctx,stdout); /* dummy */
+ sfrt_output_address(dctx,uctx); /* dummy */
}
static int sfrt_exit(struct sfrt_driver_ctx * dctx, int ret)
@@ -83,7 +83,7 @@ int sfrt_main(int argc, char ** argv, char ** envp, const struct sfrt_fd_ctx * f
return sfrt_exit(dctx,SFRT_ERROR);
if (dctx->cctx->anystring) /* dummy */
- if ((sfrt_output_dummy(dctx->cctx,stdout)) < 0) /* dummy */
+ if ((sfrt_output_dummy(dctx)) < 0) /* dummy */
return sfrt_exit(dctx,2); /* dummy */
/* dummy */
for (unit=dctx->units; *unit && !dctx->errv[0]; unit++) {