mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fix setpriority int error
This commit is contained in:
parent
bdce11cb30
commit
0a5b690b70
@ -105,7 +105,7 @@ static void _lock_mem(void)
|
||||
log_sys_error("getpriority", "");
|
||||
else
|
||||
if (setpriority(PRIO_PROCESS, 0, _default_priority))
|
||||
log_error("setpriority %u failed: %s",
|
||||
log_error("setpriority %d failed: %s",
|
||||
_default_priority, strerror(errno));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user