summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-15 11:09:08 -0400
committermidipix <writeonce@midipix.org>2018-07-15 11:15:26 -0400
commit029a9bd3b9fbaa559c9caacdb1506aeecc411989 (patch)
treefddc69fac2fe165445c2fdb0143800f227f8ed4f /src
parente754e37a210a1dc1d649403cb6084e8dcd87b2dd (diff)
downloadptycon-029a9bd3b9fbaa559c9caacdb1506aeecc411989.tar.bz2
ptycon-029a9bd3b9fbaa559c9caacdb1506aeecc411989.tar.xz
ptyc_get_driver_ctx(): restrict to pure fdio via use of ptyc_dprintf().
Diffstat (limited to 'src')
-rw-r--r--src/driver/ptyc_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index d83e23f..2867000 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -330,7 +330,7 @@ int ptyc_get_driver_ctx(
if (cctx.sysroot && ptyc_open_dir(&cctx.hroot,0,cctx.sysroot,false)) {
if (flags & PTYC_DRIVER_VERBOSITY_ERRORS)
- fprintf(stderr,
+ ptyc_dprintf(STDERR_FILENO,
"%s: error: could not open sysroot directory '%s'",
program,cctx.sysroot);
return ptyc_get_driver_ctx_fail(meta);