From: Jens Axboe Date: Tue, 9 Jun 2009 13:23:38 +0000 (+0200) Subject: Use __e for errno X-Git-Tag: fio-1.27.3~4 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=835d9b9ed0e5c2591b8a3eacbd5f4ab6bdab466c;ds=sidebyside Use __e for errno Signed-off-by: Jens Axboe --- diff --git a/filesetup.c b/filesetup.c index 15c43160..17bdd263 100644 --- a/filesetup.c +++ b/filesetup.c @@ -436,7 +436,7 @@ open_again: 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; }