Eliminate a debug printf that was causing warnings and fix the other two
debug printfs to avoid tripping on return value warnings.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
--busy;
free_iocb(iocb);
if (debug)
- write(2, "w", 1);
+ fprintf(stderr, "w");
}
/*
io_error("io_submit write", res);
}
if (debug)
- write(2, "r", 1);
+ fprintf(stderr, "r");
if (debug > 1)
printf("%d", iosize);
}
memset(&myctx, 0, sizeof(myctx));
io_queue_init(aio_maxio, &myctx);
tocopy = howmany(length, aio_blksize);
-printf("tocopy=%d len=%d blk=%d\n", tocopy, length, aio_blksize);
if (init_iocb(aio_maxio, aio_blksize) < 0) {
fprintf(stderr, "Error allocating the i/o buffers\n");
exit(1);