summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/ntux_amain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/driver/ntux_amain.c b/src/driver/ntux_amain.c
index 5ecc267..b6719ff 100644
--- a/src/driver/ntux_amain.c
+++ b/src/driver/ntux_amain.c
@@ -40,7 +40,8 @@ static ssize_t ntux_version(struct ntux_driver_ctx * dctx)
verinfo = ntux_source_version();
verclr = isatty(STDOUT_FILENO) ? ntux_ver_color : ntux_ver_plain;
- return fprintf(stdout,vermsg,
+ return ntux_dprintf(
+ STDOUT_FILENO,vermsg,
verclr[0],dctx->program,verclr[1],
verclr[2],verinfo->major,verinfo->minor,
verinfo->revision,verclr[3],