]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[patch][doc] Fix EXAMPLE in kqueue(2)
authorFernando Apesteguía <fernape@FreeBSD.org>
Mon, 11 Apr 2022 18:40:28 +0000 (20:40 +0200)
committerFernando Apesteguía <fernape@FreeBSD.org>
Wed, 13 Apr 2022 06:01:58 +0000 (08:01 +0200)
commite07b0c12ba6435421ceb7dd028402d5cbfc1f1dd
tree2c607475713e2c4b2812b75b0ab5aac0aeb5d3e0
parentf8058d33337425549e42dcccdd0f55c837bb8775
[patch][doc] Fix EXAMPLE in kqueue(2)

The error control was not properly implemented. "changelist" is const, hence
event.flags is never changed by the syscall.

PR: 196844
Reported by: eugen@
Reviewed by: PauAmma <pauamma@gundo.com>
Approved by: eugen@
Fixes: 8c231786f01b9f8614e2fe5b47196db1caa7a772
lib/libc/sys/kqueue.2