Skip to content

Commit 26b22c0

Browse files
committed
src: fix fs_type_to_name default value
1 parent 78842cf commit 26b22c0

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
@@ -156,7 +156,7 @@ static const char* get_fs_func_name_by_type(uv_fs_type req_type) {
156156
FS_TYPE_TO_NAME(LUTIME, "lutime")
157157
#undef FS_TYPE_TO_NAME
158158
default:
159-
return "unknow";
159+
return "unknown";
160160
}
161161
}
162162

0 commit comments

Comments
 (0)