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
This commit is contained in:
Jilles Tjoelker 2010-11-12 15:30:49 +00:00
parent 2971d3bb6e
commit 414f6985f3

View File

@ -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