]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix typo in poll wrapper
authorTom Hughes <tom@compton.nu>
Sun, 9 Feb 2014 11:10:08 +0000 (11:10 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 9 Feb 2014 11:10:08 +0000 (11:10 +0000)
Patch from Ivo Raisr via BZ#330941

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13795

NEWS
coregrind/m_syswrap/syswrap-generic.c
coregrind/m_syswrap/syswrap-linux.c
memcheck/tests/badpoll.stderr.exp
memcheck/tests/x86-linux/scalar.stderr.exp

diff --git a/NEWS b/NEWS
index 44b1887c114030098f7bd00c91690512da9cc196..86c6d8642dc542c5cfa6a2b071a62ffe9d8330d5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -48,6 +48,7 @@ where XXXXXX is the bug number as listed below.
 329612  Incorrect handling of AT_BASE for image execution 
 330459  --track-fds=yes doesn't track eventfds
 330469  Add clock_adjtime syscall support
+330941  Typo in PRE(poll) syscall wrapper
 
 Release 3.9.0 (31 October 2013)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
index d852f2d6cdf6b9a332d29ac802282689b825e193..6587a0eaf96fa6d811bc4b406a599b210ec55d5c 100644 (file)
@@ -3785,7 +3785,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(ufds.reventss)",
+      PRE_MEM_WRITE( "poll(ufds.revents)",
                      (Addr)(&ufds[i].revents), sizeof(ufds[i].revents) );
    }
 }
index b50cdd89db86f99279733d2609872c9b574ce1b9..dc592390090286f5628c3bb2ba515449a642f151 100644 (file)
@@ -1269,7 +1269,7 @@ PRE(sys_ppoll)
                     (Addr)(&ufds[i].fd), sizeof(ufds[i].fd) );
       PRE_MEM_READ( "ppoll(ufds.events)",
                     (Addr)(&ufds[i].events), sizeof(ufds[i].events) );
-      PRE_MEM_WRITE( "ppoll(ufd.reventss)",
+      PRE_MEM_WRITE( "ppoll(ufd.revents)",
                      (Addr)(&ufds[i].revents), sizeof(ufds[i].revents) );
    }
 
index b03d54d528431c32b0a7e9e576894728c9c6b281..5ea9c7936b0394c2e67a0fb77cd699bcbf7a14a1 100644 (file)
@@ -5,7 +5,7 @@ Syscall param poll(ufds.fd) points to uninitialised byte(s)
    at 0x........: malloc (vg_replace_malloc.c:...)
    by 0x........: main (badpoll.c:12)
 
-Syscall param poll(ufds.reventss) points to unaddressable byte(s)
+Syscall param poll(ufds.revents) points to unaddressable byte(s)
    ...
    by 0x........: main (badpoll.c:22)
  Address 0x........ is 0 bytes after a block of size 15 alloc'd
index 54616dbaf092e471e734d802d797ff94c18c1a9b..e1a2bf2194936c739669aac412e89f7bbd39bcfe 100644 (file)
@@ -2008,7 +2008,7 @@ Syscall param poll(ufds.events) points to unaddressable byte(s)
    by 0x........: main (scalar.c:752)
  Address 0x........ is not stack'd, malloc'd or (recently) free'd
 
-Syscall param poll(ufds.reventss) points to unaddressable byte(s)
+Syscall param poll(ufds.revents) points to unaddressable byte(s)
    ...
    by 0x........: main (scalar.c:752)
  Address 0x........ is not stack'd, malloc'd or (recently) free'd