diff options
author | midipix <writeonce@midipix.org> | 2018-07-15 11:09:08 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-07-15 11:15:26 -0400 |
commit | 029a9bd3b9fbaa559c9caacdb1506aeecc411989 (patch) | |
tree | fddc69fac2fe165445c2fdb0143800f227f8ed4f /src/driver | |
parent | e754e37a210a1dc1d649403cb6084e8dcd87b2dd (diff) | |
download | ptycon-029a9bd3b9fbaa559c9caacdb1506aeecc411989.tar.bz2 ptycon-029a9bd3b9fbaa559c9caacdb1506aeecc411989.tar.xz |
ptyc_get_driver_ctx(): restrict to pure fdio via use of ptyc_dprintf().
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/ptyc_driver_ctx.c | 2 |
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); |