From 1e7fa601e884ec37014cfaecab3d4b587f0dd395 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 3 Jul 2020 20:16:07 -0700 Subject: [PATCH] os/windows/posix.c: Strip trailing whitespace Signed-off-by: Bart Van Assche --- os/windows/posix.c | 4 ++-- 1 file 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"); -- 2.25.1