From nobody Tue May 20 01:45:47 2025 X-Original-To: dev-commits-src-main@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 4b1cp35y5jz5wpkN; Tue, 20 May 2025 01:45:47 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b1cp35Mn5z420b; Tue, 20 May 2025 01:45:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747705547; 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=y0wX5FtYh2lKoOqnpasdjRZxxAx8oujWrSI71+1I/Ak=; b=Mv+7A0izs/lW000toagCw0iQqGgjGKuCD4OGDaoALvaBeEIJjdZ4t5k+dXZqIA5M/KL4Ua AT7ppPGw04mUXCx3G0jgJjQ3asnqKNCkdm5NhjboN3QchGK88VDdiFWKpZMkrThzTk608F Y66zVuBmtnXR2ZbYAUsTYAZkY/ZNs7waLeMKBQnNVB/TdkQHEWP6jlLyPCz4665IKH/zH7 eYPQrty/ewnsR5uZdDSp8j/mYxZUUcxgn+cszq/SaRAQ/bftX2igYj1fP65gjfoxpLzBnL sprVpokPIzlBe0/Y2O48jS1hQyO13YC4zmb/IJSNJEmGCKuQ78RRgAielflrWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747705547; 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=y0wX5FtYh2lKoOqnpasdjRZxxAx8oujWrSI71+1I/Ak=; b=oaqJGckT+4LTg4UqKqrMS792pP/qG+fYwIuf7/bJj5D1+1x2gvun+aDM8UGpquBFfOF+Rl sE0DHOs+zrHbghNJ6fKen5r2gw+mXCkNzEMJUIRZKWr6f7ZsVfL/sdXx7IPmD9JgxIKKY3 g5KrPtz/Eha/FcGP7ouRJ/U1MHV+4uMC9RQHxzA6v5zPULg+7y9ThrhkXNjZ5aAmAuj3ty txoFZ7FSGhIwD3JuWlr4Tz2Fgr2HO0ldFwPW/Y7IMx1quSH9E/kyxkP3QMQHnZ2rk5i4PX 2awiKplK5bobnjS4wi86JPSduDuB2ZYd8vlHAgMaft0JAFt0dNZvHWHUbtD5Hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747705547; a=rsa-sha256; cv=none; b=AyvOe+pxEmyaPQMcA9nF8I3nHBy6JioICua1QoLJq9ND/lth1evRdjay+3T1bxfVqVjJNn snHV9gGFxT3Hr00yH8hiy7yhqfuqOvuI+NRg1NNp5xGRpCeKgf4QhnqYZ+v2IDFh+gng88 gHZ8Fia6xXxw7Byx2ZyMMoHlZff1/vXSGvHHfHpsCjJfcH1m/6iKFggYNINkD2G8sv0H4K NHUBKkpj9Mv89o5oQaypkF15BTI+9flKKIoNgO2ZzZmJ8M5BIVW+h7Ljgz3iSiUUK68uV7 vc6F962VA9y6o0ehBlytcyo0dti82lJbye3MAmQCxpEzpWBR9UceRBES9Gtdwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4b1cp34zX6zDXv; Tue, 20 May 2025 01:45:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54K1jlus074571; Tue, 20 May 2025 01:45:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54K1jlWA074568; Tue, 20 May 2025 01:45:47 GMT (envelope-from git) Date: Tue, 20 May 2025 01:45:47 GMT Message-Id: <202505200145.54K1jlWA074568@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 0bab69859b32 - main - wtap(4): Fix build List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0bab69859b325583d3465043dc7c8ea81ef8e0c5 Auto-Submitted: auto-generated The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=0bab69859b325583d3465043dc7c8ea81ef8e0c5 commit 0bab69859b325583d3465043dc7c8ea81ef8e0c5 Author: Farhan Khan AuthorDate: 2025-05-20 01:43:21 +0000 Commit: Li-Wen Hsu CommitDate: 2025-05-20 01:45:24 +0000 wtap(4): Fix build Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50264 --- sys/dev/wtap/if_wtap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c index 3aa3831e72c2..2b098bcc3dda 100644 --- a/sys/dev/wtap/if_wtap.c +++ b/sys/dev/wtap/if_wtap.c @@ -33,7 +33,7 @@ */ #include "if_wtapvar.h" #include /* uio struct */ -#include +#include #include #include @@ -395,7 +395,7 @@ wtap_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], ieee80211_vap_attach(vap, ieee80211_media_change, ieee80211_media_status, mac); avp->av_dev = make_dev(&wtap_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, - "%s", (const char *)vap->iv_ifp->if_xname); + "%s", if_name(vap->iv_ifp)); avp->av_dev->si_drv1 = sc; callout_init(&avp->av_swba, 0);