1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib:socket: Add missing newlines to logging messages

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-07 16:33:45 +12:00 committed by Andrew Bartlett
parent ea888d6901
commit 6ee008d2d9

View File

@ -136,12 +136,12 @@ static void query_iface_speed_from_name(const char *name, uint64_t *speed)
fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);
if (fd == -1) {
DBG_ERR("Failed to open socket.");
DBG_ERR("Failed to open socket.\n");
return;
}
if (strlen(name) >= IF_NAMESIZE) {
DBG_ERR("Interface name too long.");
DBG_ERR("Interface name too long.\n");
goto done;
}
@ -184,12 +184,12 @@ static void query_iface_rx_queues_from_name(const char *name,
fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);
if (fd == -1) {
DBG_ERR("Failed to open socket.");
DBG_ERR("Failed to open socket.\n");
return;
}
if (strlen(name) >= IF_NAMESIZE) {
DBG_ERR("Interface name too long.");
DBG_ERR("Interface name too long.\n");
goto done;
}