check tiflags instead of th as th might point to freed memory; pointed out by wayne@stallion.oz.au; also whack register.
check tiflags instead of th as th might point to freed memory; pointed out
by wayne@stallion.oz.au; also whack register.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars