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
@ -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 New Issue
Block a user