From nobody Fri Jan 31 23:53:48 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 4YlCQj5rSjz5m2qG; Fri, 31 Jan 2025 23:53:49 +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 4YlCQh6Tldz3yfZ; Fri, 31 Jan 2025 23:53:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738367628; 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=0de3hamGPaqXHT7fayKSMAPALU1cn5R0P4vMQmUtI/I=; b=DnwK4oZ/xndY9+G9fDVmvtpKpofc12erVKYoWyjkOBubsfa1OMAo1N5qPVbWYzazsSuxn/ hut54ozCk+x3uDR9Q1nfeA9ZaQ40s60GlOQ+/BW/dqV1r96rVJuWSNKyZyA4B/M7ICdUcr eg1lUB4CvSAvxIULNxsg0LoM+Bs1byx5Py5Tq5G5oinMmqohXldtpCwZLo3ragACJKTJC7 HiXjs0A2bXU7R4p8vVKkJMCcK2xnJp0IdgRYQ5Wn857OH0s69knsePs+oZuxsUdj4Aw1JN kumtP4M9vFjEuFN3Kw5+Ixdfq/DYhdJTchDcVKZg64GH5tqawsEj2eu1uB1p1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738367628; 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=0de3hamGPaqXHT7fayKSMAPALU1cn5R0P4vMQmUtI/I=; b=yl3e9AP6SyuieAfrbKM1al5c4jIGuZ8BqI6AOx+IehSDJe6ihAhnlKOdT21I1BiOg/E9j3 EeZ+WQLTkpzJ4IVoWyUx5awdHXEMIVH4+dXNZnp31g4+XTHYMBlepyH6G63lUtmXb2A3s1 HkfEOv5QRDbuUs1HIfpTp1/3QZIaxwF/S08Yiymrc3bgq2CsbMGFDE+mbie3bXtN/9MAjU Bfitk3FeNZfKpQO6w0GJ25Y5OV558PlFCBJlAb+Ml/TWt4u6HDnooqXzTq5NwM7kwz+hT0 5ZJ+DvqzoqUEENw8PdaGL8kYv+BTjns4CV3QCteyEbnhLhusqnxkmPcz4DTgWA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738367628; a=rsa-sha256; cv=none; b=XQ2wbUE5tasd0tifib3rge6k3zFTyIP7rF2Kf5HDagFNS+6m/VNGTfaqKp2taZLE0f/bEN 7bRUVCMK9mp0CT3QPW6/w5d3xNJdhGvxTi0UvkY4meT23FI7cvQufWVIe9sv8kqMsvzVkY gQ+vNSbJL/q19poWEMsWuaRNDZOb21NjNNFDxHtCvNlp2mqrhkw1mUa8WiLly6AHcH1Du9 zXtWyd0VP6ZJNw8cfZDDYi/tzOFFMnC/MnLlgjGSn5mf3LIuzx7TvwQovQiFjAsf0TB7WO ePcL6XtiLl1HAbMKEeW9e+CM5pTre5eUjpA6YQdfuVaGs1h7jwOOnYDvvu7O0w== 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 4YlCQh65XWzgv9; Fri, 31 Jan 2025 23:53:48 +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 50VNrmmo017200; Fri, 31 Jan 2025 23:53:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50VNrmUN017197; Fri, 31 Jan 2025 23:53:48 GMT (envelope-from git) Date: Fri, 31 Jan 2025 23:53:48 GMT Message-Id: <202501312353.50VNrmUN017197@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: 94e6c8d7d19d - main - lindebugfs: use __func__ not __FUNCTION__ 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 94e6c8d7d19de68b29233e59c85b16c645c1a872 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=94e6c8d7d19de68b29233e59c85b16c645c1a872 commit 94e6c8d7d19de68b29233e59c85b16c645c1a872 Author: Bjoern A. Zeeb AuthorDate: 2025-01-25 12:07:12 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-01-31 23:53:31 +0000 lindebugfs: use __func__ not __FUNCTION__ Change to the C99 version and not the old gcc name. No functional changes. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dumbbell, emaste Differential Revision: https://reviews.freebsd.org/D48736 --- sys/compat/lindebugfs/lindebugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/lindebugfs/lindebugfs.c b/sys/compat/lindebugfs/lindebugfs.c index 5449dabede66..37028b667be8 100644 --- a/sys/compat/lindebugfs/lindebugfs.c +++ b/sys/compat/lindebugfs/lindebugfs.c @@ -130,7 +130,7 @@ debugfs_fill(PFS_FILL_ARGS) rc = d->dm_fops->open(&vn, &lf); if (rc < 0) { #ifdef INVARIANTS - printf("%s:%d open failed with %d\n", __FUNCTION__, __LINE__, rc); + printf("%s:%d open failed with %d\n", __func__, __LINE__, rc); #endif return (-rc); } @@ -165,7 +165,7 @@ debugfs_fill(PFS_FILL_ARGS) if (rc < 0) { #ifdef INVARIANTS - printf("%s:%d read/write failed with %d\n", __FUNCTION__, __LINE__, rc); + printf("%s:%d read/write failed with %d\n", __func__, __LINE__, rc); #endif return (-rc); }