]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
socket: fix debug message for unsupported binding
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 10 Jul 2020 07:04:20 +0000 (09:04 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 10 Jul 2020 07:04:20 +0000 (09:04 +0200)
Fixes: 4ef944b7343 ("socket: add support for binding sockets to device")
Reported-by: Bryan Christianson <bryan@whatroute.net>
socket.c

index 99b43f5e9ef3b8d15925bcab2fc35241edcee6b3..bdf89914eb97aec227adbe7ce017074177256f25 100644 (file)
--- 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
 }