On Wed, 24 Aug 2022 20:06:00 -0000, Klemens Nanni wrote:

> Feedback? Am I missing anything?

If fstat(2) fails you should not try to access sb.  Perhaps:

    if (((dflags & OPENDEV_BLCK) && ...

should be an "else if (..."

Otherwise looks OK to me.

 - todd

Reply via email to