summaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2006-12-20 14:42:17 +0100
committerJens Axboe <jens.axboe@oracle.com>2006-12-20 14:42:17 +0100
commitd2324417d8a06b0d0b7c331a0d004155f3a7bd48 (patch)
treeb7867328432b3fab037e1861982be8e47b011273 /memory.c
parentd0bdaf49eb3f4faa941d02274f2bd875a187e7d7 (diff)
downloadfio-d2324417d8a06b0d0b7c331a0d004155f3a7bd48.tar.gz
fio-d2324417d8a06b0d0b7c331a0d004155f3a7bd48.tar.bz2
[PATCH] Remove debug fprintfs
Oops, leftover from the mmaphuge commit. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c3
1 files changed, 0 insertions, 3 deletions
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");