commit | 835d9b9ed0e5c2591b8a3eacbd5f4ab6bdab466c | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Jun 09 15:23:38 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Jun 09 15:23:38 2009 +0200 |
tree | 802ae2cb4369a0936fb80a5f8ee8fbe35b2579da | |
parent | 8fe9eff3795f1e2a57391370adc6304f55c50b23 [diff] |
Use __e for errno Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c index 15c4316..17bdd26 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -436,7 +436,7 @@ char buf[FIO_VERROR_SIZE]; int __e = errno; - if (errno == EPERM && (flags & FIO_O_NOATIME)) { + if (__e == EPERM && (flags & FIO_O_NOATIME)) { flags &= ~FIO_O_NOATIME; goto open_again; }