diff --git a/src/shrpx_worker_process.cc b/src/shrpx_worker_process.cc index 4e92b1a9..81c1cfe6 100644 --- a/src/shrpx_worker_process.cc +++ b/src/shrpx_worker_process.cc @@ -413,10 +413,10 @@ int worker_process_event_loop(WorkerProcessConfig *wpconf) { #ifdef HAVE_NEVERBLEED { - std::array errbuf; + std::array nb_errbuf; auto nb = make_unique(); - if (neverbleed_init(nb.get(), errbuf.data()) != 0) { - LOG(FATAL) << "neverbleed_init failed: " << errbuf.data(); + if (neverbleed_init(nb.get(), nb_errbuf.data()) != 0) { + LOG(FATAL) << "neverbleed_init failed: " << nb_errbuf.data(); return -1; }