]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
fdleaks: remove a VG(printf)
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 15 Mar 2024 07:01:30 +0000 (08:01 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 15 Mar 2024 07:01:30 +0000 (08:01 +0100)
This was causing a few regtest failures for me

coregrind/m_syswrap/syswrap-generic.c

index 4b59fc39b8fbe7c05bb28398c9b1e26ff77594d8..7827988ca835a155e1d1a8d1e39e4ef68febaf0e 100644 (file)
@@ -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;