diff options
Diffstat (limited to 'src/afb-monitor.c')
-rw-r--r-- | src/afb-monitor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afb-monitor.c b/src/afb-monitor.c index 4b1c0384..e34b5989 100644 --- a/src/afb-monitor.c +++ b/src/afb-monitor.c @@ -21,7 +21,8 @@ #include <json-c/json.h> -#include <afb/afb-binding-v2.h> +#define AFB_BINDING_VERSION 0 +#include <afb/afb-binding.h> #include "afb-api.h" #include "afb-apiset.h" @@ -324,7 +325,7 @@ static void f_set(struct afb_req req) static void *context_create() { - return afb_trace_create(&datav2.daemon, NULL); + return afb_trace_create(_afb_binding_v2_monitor.api, NULL); } static void context_destroy(void *pointer) |