fd-util: Add missing assert()

This commit is contained in:
Daan De Meyer
2026-04-03 23:22:14 +02:00
committed by Daan De Meyer
parent ba74a144c4
commit 1cc7353dcf
+2
View File
@@ -167,6 +167,8 @@ int fd_nonblock(int fd, bool nonblock) {
}
void nonblock_resetp(int *fd) {
assert(fd);
PROTECT_ERRNO;
if (*fd >= 0)