Skip to content

Commit

Permalink
Fixes mkdir on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SuchAFuriousDeath committed Apr 1, 2024
1 parent 69a6ab2 commit 9bc3dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel/src/fs/host/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl HostFile {
use std::ptr::null_mut;
use windows_sys::Wdk::{
Foundation::OBJECT_ATTRIBUTES,
Storage::FileSystem::{NtCreateFile, FILE_DIRECTORY_FILE, FILE_OPEN},
Storage::FileSystem::{NtCreateFile, FILE_CREATE, FILE_DIRECTORY_FILE},
};
use windows_sys::Win32::{
Foundation::{RtlNtStatusToDosError, STATUS_SUCCESS, UNICODE_STRING},
Expand Down Expand Up @@ -256,7 +256,7 @@ impl HostFile {
null_mut(),
FILE_ATTRIBUTE_DIRECTORY,
FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_OPEN,
FILE_CREATE,
FILE_DIRECTORY_FILE,
null_mut(),
0,
Expand Down

0 comments on commit 9bc3dc3

Please sign in to comment.