Add TODO markers for the removal of fprintf(stderr).

This commit is contained in:
Andrew Wood
2026-04-14 21:54:33 +01:00
parent ba80d546bc
commit bea21335c0
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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));
+1
View File
@@ -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@ */