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 <livia@cirno.name>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: theanarkh <theratliter@gmail.com>
  • Loading branch information
0o001 authored and ruyadorno committed Sep 28, 2023
1 parent d0e0eb4 commit 2d3f5c7
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 @@ -157,7 +157,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 2d3f5c7

Please sign in to comment.