From: Jens Axboe Date: Wed, 20 Dec 2006 13:42:17 +0000 (+0100) Subject: [PATCH] Remove debug fprintfs X-Git-Tag: fio-1.10~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d2324417d8a06b0d0b7c331a0d004155f3a7bd48;p=fio.git [PATCH] Remove debug fprintfs Oops, leftover from the mmaphuge commit. Signed-off-by: Jens Axboe --- diff --git a/memory.c b/memory.c index 5f3c4fa5..909baf7d 100644 --- a/memory.c +++ b/memory.c @@ -87,7 +87,6 @@ int allocate_io_mem(struct thread_data *td) td->hugefd = 0; if (td->mem_type == MEM_MMAPHUGE) { - fprintf(stderr, "file=%s\n", td->hugefile); td->hugefd = open(td->hugefile, O_RDWR|O_CREAT, 0644); if (td->hugefd < 0) { @@ -99,9 +98,7 @@ int allocate_io_mem(struct thread_data *td) } else flags |= OS_MAP_ANON; - fprintf(stderr, "mmaping %lu\n", (unsigned long) td->orig_buffer_size); td->orig_buffer = mmap(NULL, td->orig_buffer_size, PROT_READ | PROT_WRITE, flags, td->hugefd, 0); - fprintf(stderr, "mmaped %p\n", td->orig_buffer); if (td->orig_buffer == MAP_FAILED) { td_verror(td, errno); perror("mmap");