device_delete () Remove subdevices for eg. partitions
This commit is contained in:
@@ -52,7 +52,7 @@ static void usb_eject (const char* dev_key) {
|
||||
|
||||
if (strcmp (info->device_key, dev_key) == 0) {
|
||||
int ret = volume_delete (info->volume_name);
|
||||
mprintf ("Deleted volume %s: %s", info->volume_name, str_status[ret < 0 ? -ret : ret]);
|
||||
mprintf ("Deleted volume %s: %s\n", info->volume_name, str_status[ret < 0 ? -ret : ret]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user