summaryrefslogtreecommitdiff
path: root/src/scsi_id/scsi_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scsi_id/scsi_id.c')
-rw-r--r--src/scsi_id/scsi_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scsi_id/scsi_id.c b/src/scsi_id/scsi_id.c
index befe3542ba..762e70bc56 100644
--- a/src/scsi_id/scsi_id.c
+++ b/src/scsi_id/scsi_id.c
@@ -178,7 +178,7 @@ static int get_file_options(struct udev *udev,
if (errno == ENOENT)
return 1;
else {
- log_error("can't open %s: %m", config_file);
+ log_error_errno(errno, "can't open %s: %m", config_file);
return -1;
}
}