From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id AF7231FF0DF for ; Fri, 28 Aug 2026 15:30:38 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id D4921214EC; Fri, 28 Aug 2026 15:30:37 +0200 (CEST) From: Shannon Sterz To: pve-devel@lists.proxmox.com Subject: [PATCH cluster 01/21] pmxcfs: status: fix formatting of parameters in checked_mkdir() Date: Fri, 28 Aug 2026 15:30:10 +0200 Message-ID: <20260828133030.351140-2-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260828133030.351140-1-s.sterz@proxmox.com> References: <20260828133030.351140-1-s.sterz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1787923824097 X-SPAM-LEVEL: Spam detection results: 0 AWL -1.227 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) KAM_MAILER 2 Automated Mailer Tag Left in Email RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: SLAGA7MHY2HR5ME57LPBUYT44XZIGESH X-Message-ID-Hash: SLAGA7MHY2HR5ME57LPBUYT44XZIGESH X-MailFrom: s.sterz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: and remove a stray `;` Signed-off-by: Shannon Sterz --- src/pmxcfs/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c index 12a6c46..4aeeaee 100644 --- a/src/pmxcfs/status.c +++ b/src/pmxcfs/status.c @@ -1231,10 +1231,10 @@ static inline const char *rrd_skip_data(const char *data, int count, char separa return data; } -static inline void checked_mkdir(char* path, int mode) { +static inline void checked_mkdir(char *path, int mode) { if (!mkdir(path, mode) && errno != EEXIST) { cfs_message("could not create directory %s: %s", path, strerror(errno)); - }; + } } // The key and subdirectory format used up until PVE8 is 'pve{version}-{type}/{id}' with version -- 2.47.3