button-hotplug: fix compile warnings