From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id A9E903857341; Tue, 5 Dec 2023 21:21:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9E903857341 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701811296; bh=GgZShrK80e4BfTZRfiBlpYiqbJIVwoKvE+RLRAZmpW8=; h=From:To:Subject:Date:From; b=dWqJC+jfqPIHJQG4GLWawBv3Zbe+LitTmJABqnbu2oXTc/PQ2ZO7CUfBZqPLFiMve v7lIa1NlHgiNJkAILXKHPjsz1zz7agzpJFpD/iTdA291dbo4EcNCiP8j7/lMUwurt0 AmLUxq9lGMvWzei+Qusj0ODwsH6EDIDj/McY1cnY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: fallocate(2): fix debug output X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/main X-Git-Oldrev: 7f88c8e0b316e7832e58ff878cffb62460b2902f X-Git-Newrev: 0737bda6ff5a104963c49f389ec102eaf8c5dd24 Message-Id: <20231205212136.A9E903857341@sourceware.org> Date: Tue, 5 Dec 2023 21:21:36 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D0737bda6ff5= a104963c49f389ec102eaf8c5dd24 commit 0737bda6ff5a104963c49f389ec102eaf8c5dd24 Author: Corinna Vinschen AuthorDate: Tue Dec 5 22:11:18 2023 +0100 Commit: Corinna Vinschen CommitDate: Tue Dec 5 22:20:48 2023 +0100 Cygwin: fallocate(2): fix debug output =20 Fixes: e01c50c7b0a6 ("Cygwin: introduce fallocate(2)") Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/syscalls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index b6aeb47c86a4..486db1db67a6 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -3024,7 +3024,7 @@ fallocate (int fd, int mode, off_t offset, off_t len) set_errno (res); res =3D -1; } - syscall_printf ("%R =3D posix_fallocate(%d, %D, %D)", res, fd, offset, l= en); + syscall_printf ("%R =3D fallocate(%d, %y, %D, %D)", res, fd, mode, offse= t, len); return res; }