From a7eaba145ec25391e24cef924181bb2f71cdce86 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 12 Nov 2018 20:08:36 +0300 Subject: [PATCH] Fixed building by SunC 5.15. --- njs/njs_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/njs/njs_shell.c b/njs/njs_shell.c index 4f03d904..8445f330 100644 --- a/njs/njs_shell.c +++ b/njs/njs_shell.c @@ -227,7 +227,7 @@ njs_externals_init(njs_vm_t *vm) njs_value_t *value; const njs_extern_t *proto; - static const nxt_str_t name = nxt_string_value("console"); + static const nxt_str_t name = nxt_string("console"); proto = njs_vm_external_prototype(vm, &njs_externals[0]); if (proto == NULL) { -- 2.47.3