[Olsr-dev] [PATCH v1 093/115] info: plugin_ipc_init: fix a perror message

Ferry Huberts (spam-protected)
Wed Dec 2 21:29:06 CET 2015


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/info/olsrd_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/info/olsrd_info.c b/lib/info/olsrd_info.c
index 209f606..cfb4858 100644
--- a/lib/info/olsrd_info.c
+++ b/lib/info/olsrd_info.c
@@ -390,7 +390,7 @@ static int plugin_ipc_init(void) {
 
 #if (defined __FreeBSD__ || defined __FreeBSD_kernel__) && defined SO_NOSIGPIPE
   if (setsockopt(ipc_socket, SOL_SOCKET, SO_NOSIGPIPE, (char *) &yes, sizeof(yes)) < 0) {
-    perror("SO_REUSEADDR failed");
+    perror("SO_NOSIGPIPE failed");
     goto error_out;
   }
 #endif /* (defined __FreeBSD__ || defined __FreeBSD_kernel__) && defined SO_NOSIGPIPE */
-- 
2.5.0




More information about the Olsr-dev mailing list