X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fmuxer%2Fmuxer.c;h=f629e6d54d57048f1d8b6f456baa68106217392c;hb=07208d85d16704b304b371897bb7acc995fcc481;hp=c75b5d9bbfd801b47dfea8366d923913a92f56f2;hpb=a373bf69fd8cca703750f742b308a975d7603d43;p=babeltrace.git diff --git a/plugins/utils/muxer/muxer.c b/plugins/utils/muxer/muxer.c index c75b5d9b..f629e6d5 100644 --- a/plugins/utils/muxer/muxer.c +++ b/plugins/utils/muxer/muxer.c @@ -254,7 +254,7 @@ struct bt_value *get_default_params(void) goto error; } - ret = bt_value_map_insert_bool(params, + ret = bt_value_map_insert_bool_entry(params, ASSUME_ABSOLUTE_CLOCK_CLASSES_PARAM_NAME, false); if (ret) { BT_LOGE_STR("Cannot add boolean value to map value object."); @@ -295,7 +295,7 @@ int configure_muxer_comp(struct muxer_comp *muxer_comp, struct bt_value *params) goto error; } - assume_absolute_clock_classes = bt_value_map_borrow(real_params, + assume_absolute_clock_classes = bt_value_map_borrow_entry_value(real_params, ASSUME_ABSOLUTE_CLOCK_CLASSES_PARAM_NAME); if (assume_absolute_clock_classes && !bt_value_is_bool(assume_absolute_clock_classes)) {