From: Mathieu Desnoyers Date: Wed, 27 Nov 2013 08:32:06 +0000 (-0500) Subject: Fix: clarify end of packet error X-Git-Tag: v1.1.2~15 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=4d251e2240975c1b35092545a547b64a881f0174 Fix: clarify end of packet error Fixes #686 Signed-off-by: Mathieu Desnoyers --- diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 9047b7c2..db6615b4 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -556,7 +556,7 @@ int ctf_read_event(struct bt_stream_pos *ppos, struct ctf_stream_definition *str return 0; error: - fprintf(stderr, "[error] Unexpected end of stream. Either the trace data stream is corrupted or metadata description does not match data layout.\n"); + fprintf(stderr, "[error] Unexpected end of packet. Either the trace data stream is corrupted or metadata description does not match data layout.\n"); return ret; }