From nobody Thu Dec 30 19:22:39 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 8A946191F812; Thu, 30 Dec 2021 19:22:41 +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 4JPypR4yrGz3C01; Thu, 30 Dec 2021 19:22:39 +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 259AC1DF5B; Thu, 30 Dec 2021 19:22:39 +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 1BUJMdb0017363; Thu, 30 Dec 2021 19:22:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BUJMdHZ017362; Thu, 30 Dec 2021 19:22:39 GMT (envelope-from git) Date: Thu, 30 Dec 2021 19:22:39 GMT Message-Id: <202112301922.1BUJMdHZ017362@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 3fa5cdffcc97 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 3fa5cdffcc972f9f74c4571989befaafc7c013f4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640892160; 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=0aLfOD29O7bsiShi2+GjfkhuroVqybo4mFyjo7AixQA=; b=vlhl1k8VqfSo6+i7AkgZOdBI3DT6Da5d+y0UsN/QcWgwyd4lnjBdb46XYL7yrMuadIPhg8 m3GjQzqHwd5G7uMWX7AOjhbNUIdoh82JLqUr6qCCuy5Y+g+Tynid4wAzY7ATjrO0F8le2X xT8/BsJsisTgDudmBZZfbtZUExjcjeu8d0unUKENZL2muSmrtsNjv6OAwij3uFQnNt7LhE 0YysECFX5SxxFW9RKy4PopaxYhbLnSAEnhgCUdMKp+ZbCU4+Mn24xY6aQQpE5URWPo2nP4 o5oLm+AVlXgYm6RpiMkr99eDWc2JN1MlTXOhWarGYbQc/jTRVg1RwithQuKUkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640892160; a=rsa-sha256; cv=none; b=Nq3j4QOA7mzu66PBfBRF7Vu18Iqwfd17u1NCeZOKIuH2HCuSybXpiBEikeNP+zI9fJgLNg DykkISeJdlJiyAH1VXOqjqPvbOzNn9yOUkz1tc5zNnYk+hkd3e9K88Gn/zFpmy13ZC88yH ueOlcLPvb7Wl0S0G2UJ0529UkZJgjw6HYHOYBt7doJgSJSmKSGJhcLUxtX8lvzivytCm2n r5QyFngbAGsDsQ4kDv/2w6W0UaO+2FtdWo4r1pfNsvd/Lan8KGN4/7+TiImludbrtOTjRA kJIjrhuRPz85YVE9nS/dm1TTxhhdO3C3tU7e3ZPffDKk1kDESNf0xqxPMmu8Hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3fa5cdffcc972f9f74c4571989befaafc7c013f4 commit 3fa5cdffcc972f9f74c4571989befaafc7c013f4 Author: Bjoern A. Zeeb AuthorDate: 2021-12-23 15:21:32 +0000 Commit: Bjoern A. Zeeb CommitDate: 2021-12-30 18:26:33 +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 (cherry picked from commit e51b46cefbfaab08f6e5cb402ebecbf1c0cba3c8) --- 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);