summaryrefslogtreecommitdiff
path: root/udev/udev-sysdeps.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-13 01:52:33 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-13 01:52:33 +0100
commit95d61c274566700ea2d39a4a048e2fa6ea2cc58f (patch)
tree8b2893a345a57d34a2ecaa8774b575de13bce5b0 /udev/udev-sysdeps.h
parent0bf41e6c24ac3d8cea08dd965e29b0d66ef51f1a (diff)
set errno = ENOSYS in inotify stub
Diffstat (limited to 'udev/udev-sysdeps.h')
-rw-r--r--udev/udev-sysdeps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udev-sysdeps.h b/udev/udev-sysdeps.h
index eaeab86f6b..08d7e48543 100644
--- a/udev/udev-sysdeps.h
+++ b/udev/udev-sysdeps.h
@@ -33,6 +33,7 @@
#ifndef HAVE_INOTIFY
static inline int inotify_init(void)
{
+ errno = ENOSYS;
return -1;
}