[PATCH v2 1/2] multipathd: use condlog level for setscheduler error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



condlog uses its own log levels, so LOG_WARNING makes no sense. It
actually translates to a message sent at the LOG_DEBUG level.

Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
---
 multipathd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index 6193e691..85ac540f 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -3178,7 +3178,7 @@ setscheduler (void)
 	res = sched_setscheduler (0, SCHED_RR, &sched_param);
 
 	if (res == -1)
-		condlog(LOG_WARNING, "Could not set SCHED_RR at priority 99");
+		condlog(2, "Could not set SCHED_RR at priority 99");
 	return;
 }
 
-- 
2.43.0





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux