From e6f9a4bd5bd18100a285eb69577f096004087531 Mon Sep 17 00:00:00 2001 From: saerome kim Date: Fri, 21 Dec 2018 13:01:50 +0900 Subject: [PATCH] Fixed build error due to dlog update. Change-Id: I75b2495ab9747f1e642f0b51eb78ca924c8a9906 Signed-off-by: saerome kim --- packaging/wifi-mesh-manager.spec | 2 +- src/wmesh-netlink.c | 2 +- src/wmesh-softap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/wifi-mesh-manager.spec b/packaging/wifi-mesh-manager.spec index eb6f2b6..e75849b 100644 --- a/packaging/wifi-mesh-manager.spec +++ b/packaging/wifi-mesh-manager.spec @@ -2,7 +2,7 @@ Name: wifi-mesh-manager Summary: Wi-Fi mesh network daemon -Version: 0.0.7 +Version: 0.0.8 Release: 1 Group: Network & Connectivity/Wireless License: Apache-2.0 diff --git a/src/wmesh-netlink.c b/src/wmesh-netlink.c index 3b3ca0b..706bfa4 100644 --- a/src/wmesh-netlink.c +++ b/src/wmesh-netlink.c @@ -1056,7 +1056,7 @@ static int _on_receive_station_info(struct nl_msg *msg, void *arg) if (0 != sta_info[NL80211_STA_INFO_T_OFFSET]) { station_info->t_offset = (unsigned long long)nla_get_u64(sta_info[NL80211_STA_INFO_T_OFFSET]); - WMESH_LOGD(" Toffset:\t%llu us", station_info->t_offset); + WMESH_LOGD(" Toffset:\t%"G_GUINT64_FORMAT " us", station_info->t_offset); } if (0 != sta_info[NL80211_STA_INFO_LOCAL_PM]) { diff --git a/src/wmesh-softap.c b/src/wmesh-softap.c index 63d7b79..ddceb6b 100644 --- a/src/wmesh-softap.c +++ b/src/wmesh-softap.c @@ -425,7 +425,7 @@ static int __write_hostapd_config() conf = g_strconcat(old_conf, buf, NULL); g_free(old_conf); } else { - WMESH_LOGD("Open connection [%s]", security); /* LCOV_EXCL_LINE */ + WMESH_LOGD("Open connection [%d]", security); /* LCOV_EXCL_LINE */ } fd = open(HOSTAPD_WMESH_CONF_FILE, O_WRONLY | O_CREAT | O_TRUNC, 0640); -- 2.7.4