HTTPserver.cpp: fix error message

This commit adds to an error message a forgotten format string
component so that the output is complete.
This commit is contained in:
Arianna Avanzini 2015-05-08 18:23:58 +02:00
parent 899bfd7e73
commit de79b1a366

View file

@ -483,7 +483,7 @@ HTTPserver::HTTPserver(u_int16_t _port, const char *_docs_dir, const char *_scri
httpd_v4 = mg_start(&callbacks, NULL, (const char**)http_options);
if(httpd_v4 == NULL) {
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to start HTTP server (IPv4) on ports %s", ports, strerror(errno));
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to start HTTP server (IPv4) on ports %s %s", ports, strerror(errno));
_exit(-1);
}