Fix a bug in ptcwrite() that could result in up to 100 lost bytes when we block due to hitting the TTYHOG limit.  OK miod@
Fix a bug in ptcwrite() that could result in up to 100 lost bytes
when we block due to hitting the TTYHOG limit.  OK miod@

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