From: Sergey Kandaurov Date: Mon, 12 Nov 2018 17:08:36 +0000 (+0300) Subject: Fixed building by SunC 5.15. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=a7eaba145ec25391e24cef924181bb2f71cdce86;p=njs.git Fixed building by SunC 5.15. --- 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) {