]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: fix inverted log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Jun 2019 18:27:24 +0000 (03:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 4 Jul 2019 04:46:11 +0000 (13:46 +0900)
src/libsystemd/sd-netlink/netlink-socket.c

index d1c95b260f8f91b275b623a93668f65203a28857..98edb7e2bae2be11660a3005c69607c72deb7b87 100644 (file)
@@ -392,7 +392,7 @@ int socket_read_message(sd_netlink *rtnl) {
 
                 /* check that the size matches the message type */
                 if (new_msg->nlmsg_len < NLMSG_LENGTH(type_get_size(nl_type))) {
-                        log_debug("sd-netlink: message larger than expected, dropping");
+                        log_debug("sd-netlink: message is shorter than expected, dropping");
                         continue;
                 }