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:
parent
2971d3bb6e
commit
414f6985f3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user