summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ptyc_amain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/ptyc_amain.c b/src/driver/ptyc_amain.c
index d23db2b..d4f2b11 100644
--- a/src/driver/ptyc_amain.c
+++ b/src/driver/ptyc_amain.c
@@ -42,7 +42,7 @@ static ssize_t ptyc_version(struct ptyc_driver_ctx * dctx)
verinfo = ptyc_source_version();
verclr = isatty(STDOUT_FILENO) ? ptyc_ver_color : ptyc_ver_plain;
- return fprintf(stdout,vermsg,
+ return ptyc_dprintf(STDOUT_FILENO,vermsg,
verclr[0],dctx->program,verclr[1],
verclr[2],verinfo->major,verinfo->minor,
verinfo->revision,verclr[3],