X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Ffs.c;h=f48d50876f03d001a464ddbaf02add994eee993b;hb=07208d85d16704b304b371897bb7acc995fcc481;hp=fa341ea1e02b6e8a10f32614240f62dbcd8a21c5;hpb=a373bf69fd8cca703750f742b308a975d7603d43;p=babeltrace.git diff --git a/plugins/ctf/fs-src/fs.c b/plugins/ctf/fs-src/fs.c index fa341ea1..f48d5087 100644 --- a/plugins/ctf/fs-src/fs.c +++ b/plugins/ctf/fs-src/fs.c @@ -1268,14 +1268,14 @@ struct ctf_fs_component *ctf_fs_create(struct bt_private_component *priv_comp, * private component should also exist. */ ctf_fs->priv_comp = priv_comp; - value = bt_value_map_borrow(params, "path"); + value = bt_value_map_borrow_entry_value(params, "path"); if (value && !bt_value_is_string(value)) { goto error; } value_ret = bt_value_string_get(value, &path_param); BT_ASSERT(value_ret == BT_VALUE_STATUS_OK); - value = bt_value_map_borrow(params, "clock-class-offset-s"); + value = bt_value_map_borrow_entry_value(params, "clock-class-offset-s"); if (value) { if (!bt_value_is_integer(value)) { BT_LOGE("clock-class-offset-s should be an integer"); @@ -1286,7 +1286,7 @@ struct ctf_fs_component *ctf_fs_create(struct bt_private_component *priv_comp, BT_ASSERT(value_ret == BT_VALUE_STATUS_OK); } - value = bt_value_map_borrow(params, "clock-class-offset-ns"); + value = bt_value_map_borrow_entry_value(params, "clock-class-offset-ns"); if (value) { if (!bt_value_is_integer(value)) { BT_LOGE("clock-class-offset-ns should be an integer");