mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
x86: Correctly report unexpected cache level
Reviewed by: rpokala, emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34577
This commit is contained in:
parent
a693d17b99
commit
ba46c6c4b7
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ add_deterministic_cache(int type, int level, int share_count)
|
|||
if (type == 2) /* ignore instruction cache */
|
||||
return (1);
|
||||
if (level == 0 || level > MAX_CACHE_LEVELS) {
|
||||
printf("unexpected cache level %d\n", type);
|
||||
printf("unexpected cache level %d\n", level);
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue