diff options
-rw-r--r-- | src/fs/ntapi_tt_mount.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fs/ntapi_tt_mount.c b/src/fs/ntapi_tt_mount.c index c149e53..2d8be0a 100644 --- a/src/fs/ntapi_tt_mount.c +++ b/src/fs/ntapi_tt_mount.c @@ -249,11 +249,8 @@ int32_t __stdcall __ntapi_tt_get_dos_drive_mount_points( if (!__ntapi_internals()->hdev_mount_point_mgr) - status = __tt_connect_to_mount_point_manager(); - - if (!__ntapi_internals()->hdev_mount_point_mgr) - return status; - + if ((status = __tt_connect_to_mount_point_manager())) + return status; status = __ntapi->zw_device_io_control_file( __ntapi_internals()->hdev_mount_point_mgr, |