From f365b275069f34c5b8a367b94ad785ca0ac55fe7 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Mon, 21 Sep 2026 19:05:31 -0700 Subject: [PATCH] FS: fix typo during BytesRead prototype instantiation --- external/njs_fs_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/njs_fs_module.c b/external/njs_fs_module.c index 903c095c..2876c84f 100644 --- a/external/njs_fs_module.c +++ b/external/njs_fs_module.c @@ -3919,7 +3919,7 @@ njs_fs_init(njs_vm_t *vm) njs_fs_bytes_read_proto_id = njs_vm_external_prototype(vm, njs_ext_bytes_read, njs_nitems(njs_ext_bytes_read)); - if (njs_slow_path(njs_fs_bytes_written_proto_id < 0)) { + if (njs_slow_path(njs_fs_bytes_read_proto_id < 0)) { return NJS_ERROR; } -- 2.47.3