patch-src_libudev_libudev-monitor_c 595 B

123456789101112131415
  1. --- eudev-2.1.1.orig/src/libudev/libudev-monitor.c 2014-09-18 17:47:23.000000000 -0500
  2. +++ eudev-2.1.1/src/libudev/libudev-monitor.c 2014-10-29 20:46:45.742352002 -0500
  3. @@ -119,11 +119,8 @@ static bool udev_has_devtmpfs(struct ude
  4. int r;
  5. r = name_to_handle_at(AT_FDCWD, "/dev", &h.handle, &mount_id, 0);
  6. - if (r < 0) {
  7. - if (errno != EOPNOTSUPP)
  8. - udev_err(udev, "name_to_handle_at on /dev: %m\n");
  9. + if (r < 0)
  10. return false;
  11. - }
  12. f = fopen("/proc/self/mountinfo", "re");
  13. if (!f)