hotplug.c fix warning