sprintf -> snprintf, plus check for overflow in device name.
sprintf -> snprintf, plus check for overflow in device name.

ok deraadt@ millert@

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