mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-15 05:41:59 +00:00
[zone] Fix sentinel spelling in unit test
This commit is contained in:
parent
049566062d
commit
5d4ce73ff4
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ static int
|
|||
check_hunk_block (const memhunk_t *hunk, const void *mem, size_t size)
|
||||
{
|
||||
const hunkblk_t *h = (const hunkblk_t *) mem - 1;
|
||||
if (h->sentinal1 != HUNK_SENTINAL || h->sentinal2 != HUNK_SENTINAL) {
|
||||
printf ("invalid sentinals: %u %u\n", h->sentinal1, h->sentinal2);
|
||||
if (h->sentinel1 != HUNK_SENTINEL || h->sentinel2 != HUNK_SENTINEL) {
|
||||
printf ("invalid sentinels: %u %u\n", h->sentinel1, h->sentinel2);
|
||||
return 1;
|
||||
}
|
||||
if (h->size % HUNK_ALIGN) {
|
||||
|
|
Loading…
Reference in a new issue