Skip to content

Commit

Permalink
Fix folder creation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MockbaTheBorg committed Apr 29, 2024
1 parent dde7200 commit c814bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RunCPM/abstraction_posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ uint8 _sys_makedisk(uint8 drive) {
} else {
uint8 dFolder = drive + '@';
uint8 disk[2] = { dFolder, 0 };
if (!mkdir((char*)disk, S_IRUSR | S_IWUSR | S_IXUSR)) {
if (mkdir((char*)disk, S_IRUSR | S_IWUSR | S_IXUSR)) {
result = 0xfe;
} else {
uint8 path[4] = { dFolder, FOLDERCHAR, '0', 0 };
Expand Down

0 comments on commit c814bc8

Please sign in to comment.