1
0
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:
Alasdair Kergon 2008-05-28 23:12:45 +00:00
parent bdce11cb30
commit 0a5b690b70

View File

@ -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));
}