mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
use info if given an invalid priority
Actually do what the log message says
This commit is contained in:
@@ -132,7 +132,7 @@ ratbag_log_set_priority(struct ratbag *ratbag,
|
||||
log_bug_client(ratbag,
|
||||
"Invalid log priority %d. Using INFO instead\n",
|
||||
priority);
|
||||
return;
|
||||
priority = RATBAG_LOG_PRIORITY_INFO;
|
||||
}
|
||||
ratbag->log_priority = priority;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user