From 7afaad4be1ddf82e4a9c06dc314d1799d971524c Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 12 Nov 2010 15:30:49 +0000 Subject: 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 --- sys/sys/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1