diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-06-24 19:00:31 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-24 19:09:57 +0200 |
commit | 6ec60d20724d2a32e20d25ef75d2af178c242bc2 (patch) | |
tree | 26fe81c85973ea5581c1d78593e1566e333a29bf | |
parent | 971ff8c78b3a7d94ed2289077f856c6988d18183 (diff) |
sd-dhcp6-client: use %m instead of strerror(errno)
-rw-r--r-- | src/libsystemd-network/sd-dhcp6-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-dhcp6-client.c b/src/libsystemd-network/sd-dhcp6-client.c index 97a2ba7ea9..ab4d9e8f42 100644 --- a/src/libsystemd-network/sd-dhcp6-client.c +++ b/src/libsystemd-network/sd-dhcp6-client.c @@ -650,7 +650,7 @@ static int client_receive_message(sd_event_source *s, int fd, uint32_t revents, len = read(fd, message, buflen); if ((size_t)len < sizeof(DHCP6Message)) { - log_dhcp6_client(client, "could not receive message from UDP socket: %s", strerror(errno)); + log_dhcp6_client(client, "could not receive message from UDP socket: %m"); return 0; } |