diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2023-12-06 00:11:18 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-12-06 00:20:48 +0300 |
commit | 0737bda6ff5a104963c49f389ec102eaf8c5dd24 (patch) | |
tree | 9d9c98f39d84a08394395f32213275bf92f627d7 /winsup | |
parent | 7f88c8e0b316e7832e58ff878cffb62460b2902f (diff) |
Cygwin: fallocate(2): fix debug output
Fixes: e01c50c7b0a6 ("Cygwin: introduce fallocate(2)")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index b6aeb47c8..486db1db6 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 = -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; } |