diff --git a/drivers/wireless/ieee802154/xbee/xbee.c b/drivers/wireless/ieee802154/xbee/xbee.c index 745a2b1856..2a7c7d97f0 100644 --- a/drivers/wireless/ieee802154/xbee/xbee.c +++ b/drivers/wireless/ieee802154/xbee/xbee.c @@ -804,8 +804,8 @@ static void xbee_process_apiframes(FAR struct xbee_priv_s *priv, * should have caught it. */ - wlwarn("Unknown frame type: %d\n", - frame[XBEE_APIFRAMEINDEX_TYPE]); + wlwarn("Unknown frame type: %p\n", + &frame[XBEE_APIFRAMEINDEX_TYPE]); } break; }