From nobody Wed Mar 08 17:01:59 2023 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 4PWzBH69L6z3wcwf; Wed, 8 Mar 2023 17:01:59 +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 4PWzBH5fY6z3pL6; Wed, 8 Mar 2023 17:01:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678294919; 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=HnTyN7p1Zik2O0a7krgdNOHZ3D62UaALJ+/6/MTAtbA=; b=ufrKCL7NS4zMKfoqf2jy60pp1GkKWRz5ZBibFtG1FEErRqk6WSYS76w1cPe6T/NmDI9w3Y 5T/vEzlN6LrWIO2eGf1NHUC2A4uRKHarfraPkrJ2orEeDZvUoGjGOzU++9GSNwn7kwBQMY /XnmzMBokGoHNYR4CWrhiSxUxlcQY1ZDWVcbwldTRrwQ6RIVFSObTgzljkd4jW/jbxknUk A8yEdrygPE/FHF5GMGxwchEsNX/hs9SxxJPXosCwDoTgh0JmJUmZRUNif1cuvFsoRZ4GpD Bovssya4AHLTOWSpTjz6ckMVAbyrsJaNpcKr3w5VzAqmKqLkDKuQ0Q7d6jCPgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678294919; 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=HnTyN7p1Zik2O0a7krgdNOHZ3D62UaALJ+/6/MTAtbA=; b=EO+Nu2AqQkcIX/MqLmSvAawnTBxmB78sodZuFzMA4ttCDiSRc6dLcb4Ig756rFRTUz7QA1 MdFwnOArQ0S6zc0Fj1pQwEWHXbfVJwNoP/tlCXDUCRlVcJr/4VFO8qeutIjF7i9/AAAx6l f5ccEyDc21Nh6mXNTF6J9+1CJ7EbqHK1LPPlG2Q1V2/PWnP/bjPLVApRcqCUl3MWp09Xg6 WQtqcQrh2i8cGvahyqklBRG8lnZ22I3rfQt34A7uEeuDE5oocyYydrPXop6RHSdnN43My/ kPSZnsfZa0kQioRuhtQxR+vpfx5a+EDxOrkLVdpVf1WV7GCPqiOR07KRsl+blA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678294919; a=rsa-sha256; cv=none; b=XYjlKxBDgviOxJqDa6phWxRRzvRmKNJYH1WiFq8JJqrg5eMzB98kxjDaWE5Ca+dxM5xIHn RgT1flM8A41EZIWcQW5Rl5CJCS0KjDNfCpPcNxX1BmJ9vvosxQopPJ1vzdJ22zgotOCdK/ A0c2tGzfXKRsFrLFBPkSZBSVnkblS7HNG6VUxpHK2kepl+uEjbZsal2paTrbfoQMTN3WVS HV0RyzWsmMXbuKElNQ68LIdWr6DKOi7fgzH7SGdopPdqObCKdIlrOKE8VyAH86pehVICe7 Bx/INRsWqWxFqfS2HJcrjVFYWxs4sgp3QtupNW4tt071+EV5Cu1DVyqTttxK0Q== 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 4PWzBH4bp6zYpt; Wed, 8 Mar 2023 17:01:59 +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 328H1xPU010375; Wed, 8 Mar 2023 17:01:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 328H1xcR010374; Wed, 8 Mar 2023 17:01:59 GMT (envelope-from git) Date: Wed, 8 Mar 2023 17:01:59 GMT Message-Id: <202303081701.328H1xcR010374@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 2d8cf575d577 - main - msdosfs: fix debug print format and parameter 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: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d8cf575d5778781928699f9b7cfb448bd2f1f8e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=2d8cf575d5778781928699f9b7cfb448bd2f1f8e commit 2d8cf575d5778781928699f9b7cfb448bd2f1f8e Author: Stefan Eßer AuthorDate: 2023-03-08 16:58:00 +0000 Commit: Stefan Eßer CommitDate: 2023-03-08 16:58:00 +0000 msdosfs: fix debug print format and parameter Building with -DMSDOSFS_DEBUG failed due to a format mismatch and a variable that has been renamed but not updated in the printf() parameter list. MFC after: 1 month --- sys/fs/msdosfs/msdosfs_denode.c | 2 +- sys/fs/msdosfs/msdosfs_lookup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c index a82517acbdfe..7acd90c8e713 100644 --- a/sys/fs/msdosfs/msdosfs_denode.c +++ b/sys/fs/msdosfs/msdosfs_denode.c @@ -110,7 +110,7 @@ deget(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset, #ifdef MSDOSFS_DEBUG printf("deget(pmp %p, dirclust %lu, diroffset %lx, flags %#x, " "depp %p)\n", - pmp, dirclust, diroffset, flags, depp); + pmp, dirclust, diroffset, lkflags, depp); #endif MPASS((lkflags & LK_TYPE_MASK) == LK_EXCLUSIVE); diff --git a/sys/fs/msdosfs/msdosfs_lookup.c b/sys/fs/msdosfs/msdosfs_lookup.c index c061a9169f25..d67a96ad11c5 100644 --- a/sys/fs/msdosfs/msdosfs_lookup.c +++ b/sys/fs/msdosfs/msdosfs_lookup.c @@ -335,7 +335,7 @@ msdosfs_lookup_ino(struct vnode *vdp, struct vnode **vpp, struct componentname continue; } #ifdef MSDOSFS_DEBUG - printf("msdosfs_lookup(): match blkoff %d, diroff %d\n", + printf("msdosfs_lookup(): match blkoff %lu, diroff %d\n", blkoff, diroff); #endif /*