aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--src/select.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index cba0a419..ac887a0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,12 +227,12 @@ fi
AC_ARG_ENABLE(bsc_fd_check,
[AS_HELP_STRING(
[--enable-bsc-fd-check],
- [Instrument bsc_register_fd to check that the fd is registered]
+ [Instrument osmo_fd_register to check that the fd is registered]
)],
[fd_check=$enableval], [fd_check="no"])
if test x"$fd_check" = x"no"
then
- AC_DEFINE([BSC_FD_CHECK],[1],[Instrument the bsc_register_fd])
+ AC_DEFINE([OSMO_FD_CHECK],[1],[Instrument the osmo_fd_register])
fi
AC_ARG_ENABLE(msgfile,
diff --git a/src/select.c b/src/select.c
index 774056a9..496beea9 100644
--- a/src/select.c
+++ b/src/select.c
@@ -121,7 +121,7 @@ int osmo_fd_register(struct osmo_fd *fd)
if (fd->fd > maxfd)
maxfd = fd->fd;
-#ifdef BSC_FD_CHECK
+#ifdef OSMO_FD_CHECK
if (osmo_fd_is_registered(fd)) {
fprintf(stderr, "Adding a osmo_fd that is already in the list.\n");
return 0;