]> git.kaiwu.me - njs.git/commitdiff
Fixed building by SunC 5.15.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 12 Nov 2018 17:08:36 +0000 (20:08 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 12 Nov 2018 17:08:36 +0000 (20:08 +0300)
njs/njs_shell.c

index 4f03d9042d66850d2f61c9d24ae9fafef0b679d6..8445f330979f8a9f0b2e655026de905ce79c6bb2 100644 (file)
@@ -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) {