Skip to content
Snippets Groups Projects
Commit 602678b9 authored by apriestman's avatar apriestman
Browse files

Disable logical file systems for non-windows.

Remove filesystem include.
parent bc576e0e
Branches
Tags
No related merge requests found
......@@ -19,7 +19,6 @@
#include <string>
#include <set>
#include <string.h>
#include <filesystem>
#include "tsk_fs_i.h"
#include "tsk_fs.h"
......@@ -1633,6 +1632,13 @@ logical_fs_open(TSK_IMG_INFO * img_info) {
TSK_FS_INFO *fs = NULL;
IMG_LOGICAL_INFO *logical_img_info = NULL;
#ifndef TSK_WIN32
tsk_error_reset();
tsk_error_set_errno(TSK_ERR_FS_ARG);
tsk_error_set_errstr("logical_fs_open: logical file systems currently only enabled on Windows");
return NULL;
#endif
if (img_info->itype != TSK_IMG_TYPE_LOGICAL) {
tsk_error_reset();
tsk_error_set_errno(TSK_ERR_FS_ARG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment