From 0481e99c2f0a95d568b85b4d161e577f9fc7ca34 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Sat, 18 Apr 2026 20:29:40 +0100 Subject: [PATCH] Use pv_error() instead of writing directly to stderr. --- src/pv/remote.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pv/remote.c b/src/pv/remote.c index 16f8b87..fba65a2 100644 --- a/src/pv/remote.c +++ b/src/pv/remote.c @@ -668,9 +668,8 @@ int pv_remote_transferstate_fetch( /*@unused@ */ __attribute__((unused)) bool silent) { - /* TODO: use pv_error() rather than fprintf(). */ /*@-mustfreefresh@ *//* splint - see above */ - fprintf(stderr, "%s\n", _("SA_SIGINFO not supported on this system")); + pv_error("%s", _("SA_SIGINFO not supported on this system")); /*@+mustfreefresh@ */ return PV_ERROREXIT_REMOTE_OR_PID; }