summaryrefslogtreecommitdiffstats
path: root/src/plugins/supervisor-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/supervisor-api.c')
-rw-r--r--src/plugins/supervisor-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/supervisor-api.c b/src/plugins/supervisor-api.c
index bfe448c..50e4808 100644
--- a/src/plugins/supervisor-api.c
+++ b/src/plugins/supervisor-api.c
@@ -93,7 +93,7 @@ CTLP_CAPI(trace_start, source, argsJ, queryJ)
// User can ask to trace either
// a specific pid or an array of pids or a specific ws name
- if (wrap_json_unpack(queryJ, "{s:?i s:?o s:?s s:?s s:?s}",
+ if (wrap_json_unpack(queryJ, "{s:?i s:?o s:?s s:?s}",
"pid", &pid, "pids", &j_pids, "ws", &ws_name, "level", &level)) {
AFB_ReqFail(source->request, "Failed", "Error processing arguments.");
return ERROR;