mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
plugins/amdgpu: Demote one more error to warning
Commit
1961c5e0de ("plugins/amdgpu: Cleanup env variable handling")
converted some error logs into warnings under the rationale of failures
not being fatal, but the execution continues with the default values.
Convert one more such error to a warning, as pointed out by Copilot that
makes things more consistent.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
This commit is contained in:
parent
71be2f42ea
commit
3805d59cc4
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ static size_t getenv_size_t(const char *var, size_t defvalue)
|
|||
errno = 0;
|
||||
val = (size_t)strtoul(value_str, &endp, 0);
|
||||
if (errno || value_str == endp) {
|
||||
pr_err("Ignoring invalid value for %s=%s, expecting a positive integer\n", var, value_str);
|
||||
pr_warn("Ignoring invalid value for %s=%s, expecting a positive integer\n", var, value_str);
|
||||
goto out;
|
||||
}
|
||||
switch (*endp) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue