From 61f6b5ad436b9f57888b6800667b44ed4eab6fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20Ate=C5=9F=20Uzun?= Date: Thu, 7 Sep 2023 22:14:33 +0300 Subject: [PATCH] src: fix fs_type_to_name default value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/49239 Reviewed-By: LiviaMedeiros Reviewed-By: Tobias Nießen Reviewed-By: theanarkh --- 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 b629d936e883fe..ee97188d266ed2 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"; } }