Skip to content

Commit

Permalink
src: fix fs_type_to_name default value
Browse files Browse the repository at this point in the history
PR-URL: #49239
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: theanarkh <[email protected]>
  • Loading branch information
0o001 committed Sep 7, 2023
1 parent cd49408 commit 0bce573
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 0bce573

Please sign in to comment.