From 9dabeb003c6f38e7a5ca5d299921138a4ca5065b Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 8 Dec 2016 21:51:58 -0500 Subject: __tt_get_dos_drive_device_or_root_handle(): pass drive_letter by value. --- src/fs/ntapi_tt_statfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fs/ntapi_tt_statfs.c') diff --git a/src/fs/ntapi_tt_statfs.c b/src/fs/ntapi_tt_statfs.c index bc4fe51..44450df 100644 --- a/src/fs/ntapi_tt_statfs.c +++ b/src/fs/ntapi_tt_statfs.c @@ -204,8 +204,7 @@ int32_t __stdcall __ntapi_tt_statfs( offset = sizeof(nt_unicode_string) + statfs->dev_name_strlen; if ((status = __ntapi->tt_get_dos_drive_mount_points( - (void *)0, - (wchar16_t *)0, + (void *)0,0, (nt_mount_dev_name *)wch, mnt_points_buffer, buffer_size - offset))) -- cgit v1.2.3