chiark / gitweb /
set errno = ENOSYS in inotify stub
[elogind.git] / udev / udev-sysdeps.h
index eaeab86f6b1cd6b7bcaaf4cef3d37888eca428b8..08d7e48543ba1fdafc83b4945a2537bd6b21bf27 100644 (file)
@@ -33,6 +33,7 @@
 #ifndef HAVE_INOTIFY
 static inline int inotify_init(void)
 {
+       errno = ENOSYS;
        return -1;
 }