Markus Armbruster d28d737fb9 vmdk: Clean up "Invalid extent lines" error message
vmdk_parse_extents() reports parse errors like this:

    error_setg(errp, "Invalid extent lines:\n%s", p);

where p points to the beginning of the malformed line in the image
descriptor.  This results in a multi-line error message

    Invalid extent lines:
    <first line that doesn't parse>
    <remaining text that may or may not parse, if any>

Error messages should not have newlines embedded.  Since the remaining
text is not helpful, we can simply report:

    Invalid extent line: <first line that doesn't parse>

Cc: Fam Zheng <famz@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1450452927-8346-19-git-send-email-armbru@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
2016-01-13 15:16:18 +01:00
..
2015-09-11 10:45:43 +03:00
2016-01-11 14:10:44 -05:00
2015-12-17 08:21:29 +01:00
2016-01-11 14:10:43 -05:00
2015-10-09 15:25:57 +02:00
2015-10-16 11:14:53 +01:00
2015-10-23 18:18:23 +02:00
2015-10-19 15:26:53 +02:00
2015-12-22 18:39:19 +02:00
2015-12-22 18:39:19 +02:00
2015-12-22 18:39:19 +02:00
2015-06-05 19:45:09 +02:00
2015-12-04 18:29:31 +01:00
2015-09-25 14:53:29 +02:00
2015-12-17 08:21:27 +01:00
2015-11-02 08:30:26 +01:00