aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 211a8dcbf..a7517ebdf 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -453,8 +453,7 @@ static void setup(servtab_t *sep)
bb_perror_msg("%s/%s: socket", sep->se_service, sep->se_proto);
return;
}
- if (setsockopt_reuseaddr(sep->se_fd) < 0)
- bb_perror_msg("setsockopt(SO_REUSEADDR)");
+ setsockopt_reuseaddr(sep->se_fd);
#if ENABLE_FEATURE_INETD_RPC
if (isrpcservice(sep)) {