From: Nicholas Nethercote Date: Thu, 4 Nov 2004 19:33:51 +0000 (+0000) Subject: Comment/formatting wibbles. X-Git-Tag: svn/VALGRIND_3_0_0~1381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7be3fc9c62ef405d477e65570375adf2a423ed41;p=thirdparty%2Fvalgrind.git Comment/formatting wibbles. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2930 --- diff --git a/coregrind/vg_symtypes.c b/coregrind/vg_symtypes.c index 56d9d7b48a..8242b98f2c 100644 --- a/coregrind/vg_symtypes.c +++ b/coregrind/vg_symtypes.c @@ -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(); diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c index 1731f672b9..80013684b5 100644 --- a/coregrind/vg_syscalls.c +++ b/coregrind/vg_syscalls.c @@ -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 );