From: Kay Sievers Date: Tue, 10 Apr 2012 11:33:43 +0000 (+0200) Subject: udev: set errno = ENOSYS for removed interfaces X-Git-Tag: v183~428 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304b9f30781b8625c1f84fd27205f2707d4843b1;p=systemd udev: set errno = ENOSYS for removed interfaces --- diff --git a/src/udev/libudev-monitor.c b/src/udev/libudev-monitor.c index 5da41e7b..5ff340a9 100644 --- a/src/udev/libudev-monitor.c +++ b/src/udev/libudev-monitor.c @@ -107,6 +107,7 @@ static struct udev_monitor *udev_monitor_new(struct udev *udev) **/ _public_ struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path) { + errno = ENOSYS; return NULL; }