Use pv_error() instead of writing directly to stderr.

This commit is contained in:
Andrew Wood
2026-04-18 20:29:40 +01:00
parent 7eedf884ea
commit 0481e99c2f
+1 -2
View File
@@ -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;
}