On Monday, April 08, 2013 17:17:16 Antonio Quartulli wrote: > @@ -307,7 +307,7 @@ static void batadv_bla_send_claim(struct batadv_priv > *bat_priv, uint8_t *mac, */ > memcpy(ethhdr->h_source, mac, ETH_ALEN); > batadv_dbg(BATADV_DBG_BLA, bat_priv, > - "bla_send_claim(): CLAIM %pM on vid %d\n", mac, > vid); + "bla_send_claim(): CLAIM %pM on vid > %u\n", mac, vid); break; > case BATADV_CLAIM_TYPE_UNCLAIM: > /* unclaim frame > @@ -315,7 +315,7 @@ static void batadv_bla_send_claim(struct batadv_priv > *bat_priv, uint8_t *mac, */ > memcpy(hw_src, mac, ETH_ALEN); > batadv_dbg(BATADV_DBG_BLA, bat_priv, > - "bla_send_claim(): UNCLAIM %pM on vid %d\n", > mac, + "bla_send_claim(): UNCLAIM %pM on vid > %u\n", mac, vid); > break; > case BATADV_CLAIM_TYPE_ANNOUNCE: > @@ -324,7 +324,7 @@ static void batadv_bla_send_claim(struct batadv_priv > *bat_priv, uint8_t *mac, */ > memcpy(hw_src, mac, ETH_ALEN); > batadv_dbg(BATADV_DBG_BLA, bat_priv, > - "bla_send_claim(): ANNOUNCE of %pM on vid %d\n", > + "bla_send_claim(): ANNOUNCE of %pM on vid %u\n",
It should be %hu instead of %u for unsigned short. Please make sure the printed vid does not contain the BATADV_VLAN_HAS_TAG mixed with the real vid. Cheers, Marek