station: Fix up some printf type inconsistencies

The ifindex as reported by netdev is unsigned, so make sure that it is
printed as such.  It is astronomically unlikely that this causes any
actual issues, but lets be paranoid.
This commit is contained in:
Denis Kenzior 2018-09-05 11:06:15 -05:00
parent 0f34e1a0c1
commit 5db022041c
1 changed files with 3 additions and 3 deletions

View File

@ -758,7 +758,7 @@ static void station_roam_failed(struct station *station)
* are now disconnected.
*/
l_debug("%d", netdev_get_ifindex(station->netdev));
l_debug("%u", netdev_get_ifindex(station->netdev));
station->preparing_roam = false;
station->roam_no_orig_ap = false;
@ -1323,7 +1323,7 @@ static void station_roam_trigger_cb(struct l_timeout *timeout, void *user_data)
{
struct station *station = user_data;
l_debug("%d", netdev_get_ifindex(station->netdev));
l_debug("%u", netdev_get_ifindex(station->netdev));
l_timeout_remove(station->roam_trigger_timeout);
station->roam_trigger_timeout = NULL;
@ -1372,7 +1372,7 @@ static void station_roam_timeout_rearm(struct station *station, int seconds)
static void station_lost_beacon(struct station *station)
{
l_debug("%d", netdev_get_ifindex(station->netdev));
l_debug("%u", netdev_get_ifindex(station->netdev));
if (station->state != STATION_STATE_ROAMING &&
station->state != STATION_STATE_CONNECTED)