hsa: http server: fix http response format type error
[vpp.git] / src / plugins / hs_apps / http_server.c
index b0e31b9..a93261f 100644 (file)
@@ -238,7 +238,7 @@ static const char *http_response =
     "Expires: Mon, 11 Jan 1970 10:10:10 GMT\r\n"
     "Connection: close \r\n"
     "Pragma: no-cache\r\n"
-    "Content-Length: %d\r\n\r\n%s";
+    "Content-Length: %d\r\n\r\n%v";
 
 static const char *http_error_template =
     "HTTP/1.1 %s\r\n"