projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fe9eff
)
Use __e for errno
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 9 Jun 2009 13:23:38 +0000
(15:23 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 9 Jun 2009 13:23:38 +0000
(15:23 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index 15c431603718291d04b3ab50cf623ea6c83b80c7..17bdd2639f6ce3cc75e192063c1c5276ba6076e0 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-436,7
+436,7
@@
open_again:
char buf[FIO_VERROR_SIZE];
int __e = errno;
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;
}
flags &= ~FIO_O_NOATIME;
goto open_again;
}