diff options
Diffstat (limited to 'src/ata_id/ata_id.c')
-rw-r--r-- | src/ata_id/ata_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ata_id/ata_id.c b/src/ata_id/ata_id.c index 46a65fb477..626547725a 100644 --- a/src/ata_id/ata_id.c +++ b/src/ata_id/ata_id.c @@ -497,7 +497,7 @@ int main(int argc, char *argv[]) } else { /* If this fails, then try HDIO_GET_IDENTITY */ if (ioctl(fd, HDIO_GET_IDENTITY, &id) != 0) { - log_debug("HDIO_GET_IDENTITY failed for '%s': %m", node); + log_debug_errno(errno, "HDIO_GET_IDENTITY failed for '%s': %m", node); rc = 2; goto close; } |