From bea21335c08bb663dde6f244bca4de1eb0e47f12 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Tue, 14 Apr 2026 21:54:33 +0100 Subject: [PATCH] Add TODO markers for the removal of fprintf(stderr). --- src/pv/elapsedtime.c | 1 + src/pv/remote.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pv/elapsedtime.c b/src/pv/elapsedtime.c index ab360b7..2c8878a 100644 --- a/src/pv/elapsedtime.c +++ b/src/pv/elapsedtime.c @@ -25,6 +25,7 @@ */ void pv_elapsedtime_read(struct timespec *return_time) { + /* TODO: use pv_error() rather than fprintf(). */ /*@-unrecog@ *//* splint doesn't know clock_gettime. */ if (0 != clock_gettime(CLOCK_MONOTONIC, return_time)) { fprintf(stderr, "%s: %s: %s\n", PACKAGE_NAME, "clock_gettime", strerror(errno)); diff --git a/src/pv/remote.c b/src/pv/remote.c index 3a142f2..325ab14 100644 --- a/src/pv/remote.c +++ b/src/pv/remote.c @@ -668,6 +668,7 @@ 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")); /*@+mustfreefresh@ */