Comment/formatting wibbles.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2930
This commit is contained in:
Nicholas Nethercote 2004-11-04 19:33:51 +00:00
parent c2faf8d5aa
commit 7be3fc9c62
2 changed files with 3 additions and 4 deletions

View 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();

View 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 );