[PATCH] file descriptor is int
authorJens Axboe <jens.axboe@oracle.com>
Sat, 17 Feb 2007 03:39:54 +0000 (04:39 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 17 Feb 2007 03:39:54 +0000 (04:39 +0100)
This was mistakenly turned into a long, revert.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.h

diff --git a/fio.h b/fio.h
index 8415dae8fcf184b5b7df6c7dfc25324242920ce4..67cc06529cd8fcab52375b3969bfdc4084ed0584 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -196,7 +196,7 @@ struct fio_file {
         */
        union {
                unsigned long file_data;
-               long fd;
+               int fd;
        };
        char *file_name;
        void *mmap;