From 23218c0ec8022a45b1ef1a67d11ccd5fac12d750 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 22 Mar 2006 11:18:50 +0000 Subject: [PATCH] Update expected output following r5785; also add a missing 's'. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5788 --- coregrind/m_syswrap/syswrap-generic.c | 2 +- memcheck/tests/badpoll.stderr.exp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coregrind/m_syswrap/syswrap-generic.c b/coregrind/m_syswrap/syswrap-generic.c index 0c272da617..18080b85c7 100644 --- a/coregrind/m_syswrap/syswrap-generic.c +++ b/coregrind/m_syswrap/syswrap-generic.c @@ -4886,7 +4886,7 @@ PRE(sys_poll) (Addr)(&ufds[i].fd), sizeof(ufds[i].fd) ); PRE_MEM_READ( "poll(ufds.events)", (Addr)(&ufds[i].events), sizeof(ufds[i].events) ); - PRE_MEM_WRITE( "poll(ufd.reventss)", + PRE_MEM_WRITE( "poll(ufds.reventss)", (Addr)(&ufds[i].revents), sizeof(ufds[i].revents) ); } } diff --git a/memcheck/tests/badpoll.stderr.exp b/memcheck/tests/badpoll.stderr.exp index 2586ace4c6..1c71844b77 100644 --- a/memcheck/tests/badpoll.stderr.exp +++ b/memcheck/tests/badpoll.stderr.exp @@ -1,11 +1,11 @@ -Syscall param poll(ufds) points to uninitialised byte(s) +Syscall param poll(ufds.fd) points to uninitialised byte(s) at 0x........: poll (in /...libc...) by 0x........: main (badpoll.c:22) Address 0x........ is 8 bytes inside a block of size 15 alloc'd at 0x........: malloc (vg_replace_malloc.c:...) by 0x........: main (badpoll.c:12) -Syscall param poll(ufds) points to unaddressable byte(s) +Syscall param poll(ufds.reventss) points to unaddressable byte(s) at 0x........: poll (in /...libc...) by 0x........: main (badpoll.c:22) Address 0x........ is 0 bytes after a block of size 15 alloc'd -- 2.47.2