diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-07-03 20:16:07 -0700 |
---|---|---|
committer | Bart Van Assche <bvanassche@acm.org> | 2020-07-04 15:59:19 -0700 |
commit | 1e7fa601e884ec37014cfaecab3d4b587f0dd395 (patch) | |
tree | d6550469e5e6b1026a3612434e81160b822e41e5 /os/windows/posix.c | |
parent | cd3610b42ad74f5a670f1710a9c4a57c3da538d9 (diff) | |
download | fio-1e7fa601e884ec37014cfaecab3d4b587f0dd395.tar.gz fio-1e7fa601e884ec37014cfaecab3d4b587f0dd395.tar.bz2 |
os/windows/posix.c: Strip trailing whitespace
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Diffstat (limited to 'os/windows/posix.c')
-rw-r--r-- | os/windows/posix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/windows/posix.c b/os/windows/posix.c index e36453e9..729d1b1f 100644 --- a/os/windows/posix.c +++ b/os/windows/posix.c @@ -750,7 +750,7 @@ int setgid(gid_t gid) int nice(int incr) { DWORD prioclass = NORMAL_PRIORITY_CLASS; - + if (incr < -15) prioclass = HIGH_PRIORITY_CLASS; else if (incr < 0) @@ -759,7 +759,7 @@ int nice(int incr) prioclass = IDLE_PRIORITY_CLASS; else if (incr > 0) prioclass = BELOW_NORMAL_PRIORITY_CLASS; - + if (!SetPriorityClass(GetCurrentProcess(), prioclass)) log_err("fio: SetPriorityClass failed\n"); |