chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update TODO
[elogind.git]
/
src
/
udev
/
ata_id
/
ata_id.c
diff --git
a/src/udev/ata_id/ata_id.c
b/src/udev/ata_id/ata_id.c
index 0d56f9b09d491c4cc8c410fa8e365166e329ebbd..89628c929d38be75fcef356918ea4fdb11f88a42 100644
(file)
--- a/
src/udev/ata_id/ata_id.c
+++ b/
src/udev/ata_id/ata_id.c
@@
-494,7
+494,7
@@
int main(int argc, char *argv[])
} else {
/* If this fails, then try HDIO_GET_IDENTITY */
if (ioctl(fd, HDIO_GET_IDENTITY, &id) != 0) {
} 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;
}
rc = 2;
goto close;
}