projects
/
project
/
odhcp6c.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "odhcp6c: Replace strerror(errno) with %m"
[project/odhcp6c.git]
/
src
/
dhcpv6.c
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 0944dd205aae7e6482ae0d6bd7d647e94151823a..9dce577250400b29a0dde12841d6b7ea0ba90882 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-522,9
+522,9
@@
static void dhcpv6_send(enum dhcpv6_msg type, uint8_t trid[3], uint32_t ecs)
if (sendmsg(sock, &msg, 0) < 0) {
char in6_str[INET6_ADDRSTRLEN];
if (sendmsg(sock, &msg, 0) < 0) {
char in6_str[INET6_ADDRSTRLEN];
- syslog(LOG_ERR, "Failed to send DHCPV6 message to %s (%
m
)",
+ syslog(LOG_ERR, "Failed to send DHCPV6 message to %s (%
s
)",
inet_ntop(AF_INET6, (const void *)&srv.sin6_addr,
inet_ntop(AF_INET6, (const void *)&srv.sin6_addr,
- in6_str, sizeof(in6_str)));
+ in6_str, sizeof(in6_str))
, strerror(errno)
);
}
}
}
}