Skip to content

Commit

Permalink
fix: fs_type_to_name default value
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 committed Aug 19, 2023
1 parent 78842cf commit ab5099d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/node_dir.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static const char* get_dir_func_name_by_type(uv_fs_type req_type) {
FS_TYPE_TO_NAME(CLOSEDIR, "closedir")
#undef FS_TYPE_TO_NAME
default:
return "unknow";
return "unknown";
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static const char* get_fs_func_name_by_type(uv_fs_type req_type) {
FS_TYPE_TO_NAME(LUTIME, "lutime")
#undef FS_TYPE_TO_NAME
default:
return "unknow";
return "unknown";
}
}

Expand Down

0 comments on commit ab5099d

Please sign in to comment.