platform: fix a logging bug

Absence of a "-" meant that a debug-level message got logged as an
error.
This commit is contained in:
Dan Winship
2014-03-04 18:07:05 -05:00
parent 97804f41f1
commit f43fa7a0ac

View File

@@ -2868,7 +2868,7 @@ event_handler (GIOChannel *channel,
nle = nl_recvmsgs_default (priv->nlh_event);
if (nle < 0)
switch (nle) {
case NLE_DUMP_INTR:
case -NLE_DUMP_INTR:
/* this most likely happens due to our request (RTM_GETADDR, AF_INET6, NLM_F_DUMP)
* to detect support for support_kernel_extended_ifa_flags. This is not critical
* and can happen easily. */