Fix attribute handling.  From John Wright <juggler@oaktree.co.uk>
Fix attribute handling.  From
John Wright <juggler@oaktree.co.uk>

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