From nobody Sun Apr 30 02:16:54 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 4Q892g2CjMz48Zqv for ; Sun, 30 Apr 2023 02:16:59 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q892g0dT3z4D5D for ; Sun, 30 Apr 2023 02:16:59 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-2f9b9aa9d75so697839f8f.0 for ; Sat, 29 Apr 2023 19:16:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682821016; x=1685413016; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oof+qWpibW/AjNWjoINt2ecWFd6efRdQ/bArsWA8EgA=; b=YDqro5+0dlsZ604PCyni3LhArpO5OC6LbS74q3Eyw9EtA61/dZmHHoUyitqE8VnBcF gk8aGuyPun2JsDCxABoin9ZZzpJMdXSUhN4+pq3w4OTXp1Lvbgp7wyJI1iEcD9OaO2eL 0jqSZztOvRt6cp6wHFdtxEhK7dWW9rGXEIKH5++7PJUTyCNGjPUxFmQ0H4sT9be6r0Wh 6DNOoQFjEcU/zf9ZvVg+ME7FV/8luUJZIrk8tugW8+td883Qsyes2DDVhG3BjtdqSqu5 +OkZVg5rSgJ85csZetOSTbltBSEAchF30hSuQ40DMoagTXbTK294ZGQUk4+0tHJQDYmP AH/w== X-Gm-Message-State: AC+VfDxwCXwCDY650sZATQI7lN+ib4KjF4J4z5ekw+sjnWVTnqWZU+34 NcClbaHhgjKIm7z2+h5XrXAfQA== X-Google-Smtp-Source: ACHHUZ7c4a2H+mgIXDeelVwOaiFbh0FsV+YX4DufLa1u3OLxjkYdZOoeHrHvQeLTopy1H5z7kuHz5g== X-Received: by 2002:adf:ef52:0:b0:306:b48:3fc4 with SMTP id c18-20020adfef52000000b003060b483fc4mr2103421wrp.31.1682821015709; Sat, 29 Apr 2023 19:16:55 -0700 (PDT) Received: from smtpclient.apple ([131.111.5.246]) by smtp.gmail.com with ESMTPSA id r4-20020adfdc84000000b002f598008d50sm24754434wrj.34.2023.04.29.19.16.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Apr 2023 19:16:55 -0700 (PDT) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: git: 6995e6b3237e - main - Fix printf format conflict From: Jessica Clarke In-Reply-To: <202304300055.33U0txC4076743@gitrepo.freebsd.org> Date: Sun, 30 Apr 2023 03:16:54 +0100 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <202304300055.33U0txC4076743@gitrepo.freebsd.org> To: Kirk McKusick X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Q892g0dT3z4D5D X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 30 Apr 2023, at 01:55, Kirk McKusick wrote: >=20 > The branch main has been updated by mckusick: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D6995e6b3237e9be9ae6f68af13edd3db= 4b668ab8 >=20 > commit 6995e6b3237e9be9ae6f68af13edd3db4b668ab8 > Author: Kirk McKusick > AuthorDate: 2023-04-30 00:55:15 +0000 > Commit: Kirk McKusick > CommitDate: 2023-04-30 00:55:15 +0000 >=20 > Fix printf format conflict >=20 > MFC after: 1 week > --- > sbin/dumpfs/dumpfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c > index 01b475a03fea..743734660e57 100644 > --- a/sbin/dumpfs/dumpfs.c > +++ b/sbin/dumpfs/dumpfs.c > @@ -245,7 +245,7 @@ dumpfs(const char *name, int dosb) > default: > goto err; > } > - printf("old_cpg\t%d\tsize_cg\t%jd\tCGSIZE\t%jd\n", > + printf("old_cpg\t%d\tsize_cg\t%d\tCGSIZE\t%d\n", > afs.fs_old_cpg, sizeof(struct cg), CGSIZE(&afs)); size_t is not an int on 64-bit architectures; you want %zu. Jess > printf("sblkno\t%d\tcblkno\t%d\tiblkno\t%d\tdblkno\t%d\n", > afs.fs_sblkno, afs.fs_cblkno, afs.fs_iblkno, afs.fs_dblkno);