aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/select.c b/src/core/select.c
index 584de242..67b0fd38 100644
--- a/src/core/select.c
+++ b/src/core/select.c
@@ -212,6 +212,7 @@ int osmo_fd_register(struct osmo_fd *fd)
/*! Unregister a file descriptor from select loop abstraction
* \param[in] fd osmocom file descriptor to be unregistered
*
+ * Caller is responsible for ensuring the fd is really registered before calling this API.
* This function must be called before changing the value of the fd field in
* the struct osmo_fd.
*/