From nobody Thu Dec 23 15:29:19 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AA8FE190751C; Thu, 23 Dec 2021 15:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JKYyR36tjz3Gyq; Thu, 23 Dec 2021 15:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B7BF1310C; Thu, 23 Dec 2021 15:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BNFTJiP044361; Thu, 23 Dec 2021 15:29:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BNFTJSe044360; Thu, 23 Dec 2021 15:29:19 GMT (envelope-from git) Date: Thu, 23 Dec 2021 15:29:19 GMT Message-Id: <202112231529.1BNFTJSe044360@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: e51b46cefbfa - main - net80211: fix debug printf List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e51b46cefbfaab08f6e5cb402ebecbf1c0cba3c8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640273359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EUCANFCzWg/fV5jMnPmomd3xUBxTReSl1mIay/phyKA=; b=J7+tYybrhOOM5VxJUUs46EVp7LM7PSwieSvXSe6KAXpOtCSDDE+hSHb6qDdZBNqxvVKIKY E2BsD5hkYO0RA+aOo9BRlbrZX4uwHjlTR+J7mwwMEg1i/AQW424XaRoSWk/Emd7pucHc6W lfhpn//kGyRfYKSTC35/gsh0Q7O6vcjJRdbmnefwtcAefPCkOnux0jlVVxCeS2V4s9WYq2 S6MTXy00m+DtnCpOZVImb1c3taWwbMPCuKx60m4XJzW/9k0KJEksiiiHcGSjJK3dPMElof cXG3z7UH1YSVVgbGG+CStrVPSCbakVTlKuC2RIhOPESMldje1Cs3MHEYv4ddbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640273359; a=rsa-sha256; cv=none; b=tWqKjAfMsEYIQZ44vENKyf+SzXhjsRRJebykOQsOi6pV5SHkOHgm/iGrRVC05bi0IAq2xj YzIZFDuQl8hm2nJXwu5J3ir1I5Whja/KakKQCCX+iAAlN3VzEx6r31ZdIKg0Aze+dXlqon MJyNk/Xty8qQgDJs93Tsq8/CJq2NvT1Z5BUL6St2Yyn5YEDjUDuC1TEm9fkMP891BUeik1 k+p1zJlqQ6ubPmZTeit24wYz+YKeAKRWsXWZNWw+O5SrgA0hOiUNQeEbo2oLpMdH/7uH8N xkFppi8TcAAyzVWQX0p7g3QtcMnHecuL4m7F6GQLo39ZJP62atCYzwaH/t9lGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e51b46cefbfaab08f6e5cb402ebecbf1c0cba3c8 commit e51b46cefbfaab08f6e5cb402ebecbf1c0cba3c8 Author: Bjoern A. Zeeb AuthorDate: 2021-12-23 15:21:32 +0000 Commit: Bjoern A. Zeeb CommitDate: 2021-12-23 15:21:32 +0000 net80211: fix debug printf We are printing %p in _db_show_sta(), there is no need to prefix it with 0x again to get a 0x0x... Spsonsored by: The FreeBSD Foundation MFC after: 3 days --- sys/net80211/ieee80211_ddb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index 272aaf988ba1..e649b3c86fda 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -236,7 +236,7 @@ _db_show_sta(const struct ieee80211_node *ni) { int i; - db_printf("0x%p: mac %s refcnt %d\n", ni, + db_printf("%p: mac %s refcnt %d\n", ni, ether_sprintf(ni->ni_macaddr), ieee80211_node_refcnt(ni)); db_printf("\tvap %p wdsvap %p ic %p table %p\n", ni->ni_vap, ni->ni_wdsvap, ni->ni_ic, ni->ni_table);