]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Comment/formatting wibbles.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 4 Nov 2004 19:33:51 +0000 (19:33 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 4 Nov 2004 19:33:51 +0000 (19:33 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2930

coregrind/vg_symtypes.c
coregrind/vg_syscalls.c

index 56d9d7b48ac64c4511394ef74dbc10f549270a42..8242b98f2cb49a89b6a4c9a04d81f830028f83e7 100644 (file)
@@ -598,8 +598,7 @@ static Bool is_valid_addr(Addr a)
    static const Bool debug = False;
    volatile Bool ret = False;
 
-   if ((a > VKI_PAGE_SIZE) &&
-       !test_visited(a, &faulted)) {
+   if ((a > VKI_PAGE_SIZE) && !test_visited(a, &faulted)) {
       if (!LAZYSIG)
         setup_signals();
    
index 1731f672b961a8f8f9a50fe04b062c27cd4dab5a..80013684b5f61d53b952e6c1e117041d389e1856 100644 (file)
@@ -4075,8 +4075,8 @@ PRE(mmap2)
    //  - all 6 args are passed in regs, rather than in a memory-block.
    //  - the file offset is specified in pagesize units rather than bytes,
    //    so that it can be used for files bigger than 2^32 bytes.
-   /* void* mmap(void *start, size_t length, int prot, 
-      int flags, int fd, off_t offset); 
+   /* void* mmap2(void *start, size_t length, int prot, 
+                  int flags, int fd, off_t offset); 
    */
    MAYBE_PRINTF("mmap2 ( %p, %llu, %d, %d, %d, %d )\n",
                arg1, (ULong)arg2, arg3, arg4, arg5, arg6 );