diff options
author | midipix <writeonce@midipix.org> | 2018-07-15 11:10:12 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-07-15 11:15:26 -0400 |
commit | 65eb9da4e4c65437758876a55fb72486eeb1bf63 (patch) | |
tree | 745cdc366ee5b43e8434cddee997aa94d96062e3 /src | |
parent | 029a9bd3b9fbaa559c9caacdb1506aeecc411989 (diff) | |
download | ptycon-65eb9da4e4c65437758876a55fb72486eeb1bf63.tar.bz2 ptycon-65eb9da4e4c65437758876a55fb72486eeb1bf63.tar.xz |
ptyc_version(): restrict to pure fdio via use of ptyc_dprintf().
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/ptyc_amain.c | 2 |
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], |