Use CANT_HAPPEN() rather than logerror() for some internal errors.

This commit is contained in:
Markus Armbruster 2004-04-06 18:33:40 +00:00
parent acdee1e3b6
commit 392ad15567
3 changed files with 3 additions and 4 deletions

View file

@ -263,7 +263,7 @@ tend_nxtitem(struct nstr_item *np, caddr_t ptr)
selected = 0;
break;
default:
logerror("nxtitem: bad selector %d\n", np->sel);
CANT_HAPPEN("bad np->sel");
return 0;
}
if (selected && np->ncond) {