From 26b22c0b80ed1967c7123d6d519523ae43c224b9 Mon Sep 17 00:00:00 2001 From: Mustafa UZUN Date: Sat, 19 Aug 2023 12:35:10 +0300 Subject: [PATCH] src: fix fs_type_to_name default value --- src/node_dir.cc | 2 +- src/node_file.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node_dir.cc b/src/node_dir.cc index 0bef2b8927639b..8f93f189cfbe27 100644 --- a/src/node_dir.cc +++ b/src/node_dir.cc @@ -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"; } } diff --git a/src/node_file.cc b/src/node_file.cc index a38bc2afce5a44..78a799b15c16fd 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -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"; } }