From: Dmitry Volyntsev Date: Tue, 22 Sep 2026 02:05:31 +0000 (-0700) Subject: FS: fix typo during BytesRead prototype instantiation X-Git-Tag: 1.0.2~24 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=f365b275069f34c5b8a367b94ad785ca0ac55fe7;p=njs.git FS: fix typo during BytesRead prototype instantiation --- 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; }