Show an error message so that it's possible to determine why the HDIO_GET_IDENTITY ioctl has failed. --- extras/ata_id/ata_id.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extras/ata_id/ata_id.c b/extras/ata_id/ata_id.c index cb4a1a1..1e93fde 100644 --- a/extras/ata_id/ata_id.c +++ b/extras/ata_id/ata_id.c @@ -535,7 +535,7 @@ int main(int argc, char *argv[]) info(udev, "HDIO_GET_IDENTITY unsupported for '%s'\n", node); rc = 2; } else { - err(udev, "HDIO_GET_IDENTITY failed for '%s'\n", node); + err(udev, "HDIO_GET_IDENTITY failed for '%s': %m\n", node); rc = 3; } goto close; -- 1.7.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html