chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix segfault caused by wrong pointer used in dbg()
[elogind.git]
/
udev
/
udevadm-monitor.c
diff --git
a/udev/udevadm-monitor.c
b/udev/udevadm-monitor.c
index 01126c99517b42331e2da3dc6714d77500aa648d..d5992ceb6c5cc7fc522a7672b5bde5078958456b 100644
(file)
--- a/
udev/udevadm-monitor.c
+++ b/
udev/udevadm-monitor.c
@@
-168,7
+168,7
@@
int udevadm_monitor(struct udev *udev, int argc, char *argv[])
&readfds, NULL, NULL, NULL);
if (fdcount < 0) {
if (errno != EINTR)
&readfds, NULL, NULL, NULL);
if (fdcount < 0) {
if (errno != EINTR)
- fprintf(stderr, "error receiving uevent message: %
s\n", strerror(errno)
);
+ fprintf(stderr, "error receiving uevent message: %
m\n"
);
continue;
}
continue;
}