1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
--- libsystemd-dummy-208.orig/src/sd-daemon.h
+++ libsystemd-dummy-208/src/sd-daemon.h
@@ -281,23 +281,23 @@ static inline int sd_listen_fds(int unse
}
static inline int sd_is_fifo(int fd, const char *path) {
- return EINVAL;
+ return -EINVAL;
}
static inline int sd_is_special(int fd, const char *path) {
- return EINVAL;
+ return -EINVAL;
}
static inline int sd_is_socket(int fd, int family, int type, int listening) {
- return EINVAL;
+ return -EINVAL;
}
static inline int sd_is_socket_inet(int fd, int family, int type, int listening, uint16_t port) {
- return EINVAL;
+ return -EINVAL;
}
static inline int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t length) {
- return EINVAL;
+ return -EINVAL;
}
static inline int sd_is_mq(int fd, const char *path) {
|