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);