4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00

Cygwin: fallocate(2): fix debug output

Fixes: e01c50c7b0a6 ("Cygwin: introduce fallocate(2)")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-12-05 22:11:18 +01:00
parent 7f88c8e0b3
commit 0737bda6ff

View File

@ -3024,7 +3024,7 @@ fallocate (int fd, int mode, off_t offset, off_t len)
set_errno (res);
res = -1;
}
syscall_printf ("%R = posix_fallocate(%d, %D, %D)", res, fd, offset, len);
syscall_printf ("%R = fallocate(%d, %y, %D, %D)", res, fd, mode, offset, len);
return res;
}