forked from drath/libratbag
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