From 029a9bd3b9fbaa559c9caacdb1506aeecc411989 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 15 Jul 2018 11:09:08 -0400 Subject: ptyc_get_driver_ctx(): restrict to pure fdio via use of ptyc_dprintf(). --- src/driver/ptyc_driver_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/driver') 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); -- cgit v1.2.3