Skip to content

Commit 2d3f5c7

Browse files
0o001ruyadorno
authored andcommitted
src: fix fs_type_to_name default value
PR-URL: #49239 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: theanarkh <[email protected]>
1 parent d0e0eb4 commit 2d3f5c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node_dir.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static const char* get_dir_func_name_by_type(uv_fs_type req_type) {
5353
FS_TYPE_TO_NAME(CLOSEDIR, "closedir")
5454
#undef FS_TYPE_TO_NAME
5555
default:
56-
return "unknow";
56+
return "unknown";
5757
}
5858
}
5959

src/node_file.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ static const char* get_fs_func_name_by_type(uv_fs_type req_type) {
157157
FS_TYPE_TO_NAME(LUTIME, "lutime")
158158
#undef FS_TYPE_TO_NAME
159159
default:
160-
return "unknow";
160+
return "unknown";
161161
}
162162
}
163163

0 commit comments

Comments
 (0)