From: Paul Floyd Date: Fri, 15 Mar 2024 07:01:30 +0000 (+0100) Subject: fdleaks: remove a VG(printf) X-Git-Tag: VALGRIND_3_23_0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32880d929426146a26cb1557bc5b1c176283fb78;p=thirdparty%2Fvalgrind.git fdleaks: remove a VG(printf) This was causing a few regtest failures for me --- diff --git a/coregrind/m_syswrap/syswrap-generic.c b/coregrind/m_syswrap/syswrap-generic.c index 4b59fc39b..7827988ca 100644 --- a/coregrind/m_syswrap/syswrap-generic.c +++ b/coregrind/m_syswrap/syswrap-generic.c @@ -620,7 +620,6 @@ void ML_(record_fd_close)(ThreadId tid, Int fd) Int len = sizeof(val); if (VG_(getsockopt)(i->fd, VKI_SOL_SOCKET, VKI_SO_TYPE, &val, &len) == -1) { - VG_(printf)("not sockopt: %d\n", i->fd); HChar *pathname = VG_(malloc)("vg.record_fd_close.fd", 30); VG_(snprintf)(pathname, 30, "file descriptor %d\n", i->fd); i->pathname = pathname;