diff options
author | jilles <jilles@FreeBSD.org> | 2010-11-12 15:30:49 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-11-12 15:30:49 +0000 |
commit | 7afaad4be1ddf82e4a9c06dc314d1799d971524c (patch) | |
tree | 279857d06d66dfa0eadd9c85126ca6325712e52b /sys/sys/signal.h | |
parent | a1ec11b11a26e3b580b43ef9be508ec6900163f9 (diff) | |
download | FreeBSD-src-7afaad4be1ddf82e4a9c06dc314d1799d971524c.zip FreeBSD-src-7afaad4be1ddf82e4a9c06dc314d1799d971524c.tar.gz |
Make POLL_ERR and POLL_HUP different.
The kernel currently does not generate any of the POLL_* constants, but
some applications use them and break if they are not all distinct.
PR: kern/126076
MFC after: 1 week
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r-- | sys/sys/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h index 8511643..9716835 100644 --- a/sys/sys/signal.h +++ b/sys/sys/signal.h @@ -284,7 +284,7 @@ typedef struct __siginfo { #define POLL_MSG 3 /* Input message available */ #define POLL_ERR 4 /* I/O Error */ #define POLL_PRI 5 /* High priority input available */ -#define POLL_HUP 4 /* Device disconnected */ +#define POLL_HUP 6 /* Device disconnected */ #endif |