From c099aac79c09ecc92b418aa9c6d78d2f6ec6a2ac Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 10 Jul 2020 09:04:20 +0200 Subject: [PATCH] socket: fix debug message for unsupported binding Fixes: 4ef944b7343 ("socket: add support for binding sockets to device") Reported-by: Bryan Christianson --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.c b/socket.c index 99b43f5..bdf8991 100644 --- a/socket.c +++ b/socket.c @@ -346,7 +346,7 @@ bind_device(int sock_fd, const char *iface) } return 1; #else - DEBUG_LOG("Could not bind socket to %s : %s", "Not supported"); + DEBUG_LOG("Could not bind socket to %s : %s", iface, "Not supported"); return 0; #endif }