X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudevadm-monitor.c;h=d5992ceb6c5cc7fc522a7672b5bde5078958456b;hb=d98bffa802b214452d34109967423f1d60df89af;hp=01126c99517b42331e2da3dc6714d77500aa648d;hpb=0de33a61d741699f41f47ebdb505f518722159b2;p=elogind.git diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c index 01126c995..d5992ceb6 100644 --- 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) - fprintf(stderr, "error receiving uevent message: %s\n", strerror(errno)); + fprintf(stderr, "error receiving uevent message: %m\n"); continue; }