projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fixup nice() return value and duplicate volatiles
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 412f00295b27f6aff1e190d8b2e0bd37d502133b..3656694b291cf7954abac48815cdeeeeeb801ca4 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1355,7
+1355,7
@@
static void *thread_main(void *data)
}
}
- if (nice(td->nice)
< 0
) {
+ if (nice(td->nice)
== -1
) {
td_verror(td, errno);
goto err;
}