From 304b9f30781b8625c1f84fd27205f2707d4843b1 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 10 Apr 2012 13:33:43 +0200 Subject: [PATCH] udev: set errno = ENOSYS for removed interfaces --- src/udev/libudev-monitor.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5