summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-10 13:33:43 +0200
committerKay Sievers <kay@vrfy.org>2012-04-10 13:33:43 +0200
commit304b9f30781b8625c1f84fd27205f2707d4843b1 (patch)
treedc57a1897fd44b38204d4d412793db1d7242369d /src
parentb8b5e648cacc8d73c55fdffbb3466ecd8146131a (diff)
udev: set errno = ENOSYS for removed interfaces
Diffstat (limited to 'src')
-rw-r--r--src/udev/libudev-monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/libudev-monitor.c b/src/udev/libudev-monitor.c
index 5da41e7b43..5ff340a9e1 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;
}