aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2010-11-12 15:30:49 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2010-11-12 15:30:49 +0000
commit414f6985f306a91830de56349dd57594f8319b68 (patch)
tree279857d06d66dfa0eadd9c85126ca6325712e52b /sys/sys/signal.h
parent2971d3bb6eef91dc41d91b354625c81a5bff9257 (diff)
downloadsrc-414f6985f306a91830de56349dd57594f8319b68.tar.gz
src-414f6985f306a91830de56349dd57594f8319b68.zip
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
Notes
Notes: svn path=/head/; revision=215183
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 85116430fccc..971683516e3c 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