We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01d38f4 commit c5765c0Copy full SHA for c5765c0
1 file changed
libnvme/src/nvme/lib-windows.c
@@ -11,8 +11,8 @@
11
#include "compiler-attributes.h"
12
13
14
-/* fstat implementation for device HANDLE */
15
-static int __libnvme_fd_fstat(libnvme_fd_t fd, struct stat *buf)
+/* fstat implementation for Windows device HANDLE */
+static int __handle_fstat(HANDLE fd, struct stat *buf)
16
{
17
BY_HANDLE_FILE_INFORMATION file_info;
18
ULARGE_INTEGER ull;
@@ -126,7 +126,7 @@ static int __libnvme_transport_handle_open_direct(struct libnvme_transport_handl
126
127
hdl->fd = h;
128
129
- __libnvme_fd_fstat(hdl->fd, &hdl->stat);
+ __handle_fstat(hdl->fd, &hdl->stat);
130
131
/* Windows doesn't distinguish 32/64-bit ioctl, assume 64-bit capable */
132
hdl->ioctl_admin64 = true;
0 commit comments