X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Ftypes%2Fvariant.c;h=e7e50ace953ca03d16bba960c206589bf5c6ff82;hp=da069c8ac3e9395b9e7ad6b4b612c2447d602daf;hb=ebae302b9108c5747e8af8b3d54740f48479b245;hpb=de913cfdf87242ec3ff54c72a318ebb8714e5465 diff --git a/formats/ctf-text/types/variant.c b/formats/ctf-text/types/variant.c index da069c8a..e7e50ace 100644 --- a/formats/ctf-text/types/variant.c +++ b/formats/ctf-text/types/variant.c @@ -16,6 +16,14 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. */ #include @@ -44,7 +52,7 @@ int ctf_text_variant_write(struct stream_pos *ppos, struct definition *definitio } field_nr_saved = pos->field_nr; pos->field_nr = 0; - ret = variant_rw(ppos, definition); + ret = bt_variant_rw(ppos, definition); if (!pos->dummy) { pos->depth--; if (pos->depth >= 0) {