]> err.no Git - systemd/commitdiff
udev: set errno = ENOSYS for removed interfaces
authorKay Sievers <kay@vrfy.org>
Tue, 10 Apr 2012 11:33:43 +0000 (13:33 +0200)
committerKay Sievers <kay@vrfy.org>
Tue, 10 Apr 2012 11:33:43 +0000 (13:33 +0200)
src/udev/libudev-monitor.c

index 5da41e7b43fb4aae093112b5f959a5f4054a0b34..5ff340a9e19e21a6f3a646c768184b156bfb9dad 100644 (file)
@@ -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;
 }