From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrVc1-0003qQ-Ae for qemu-devel@nongnu.org; Wed, 28 Oct 2015 14:38:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrVc0-0004ye-G9 for qemu-devel@nongnu.org; Wed, 28 Oct 2015 14:38:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrVc0-0004yL-Al for qemu-devel@nongnu.org; Wed, 28 Oct 2015 14:38:16 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id D6A4D8E256 for ; Wed, 28 Oct 2015 18:38:15 +0000 (UTC) From: Eduardo Habkost Date: Wed, 28 Oct 2015 16:37:03 -0200 Message-Id: <1446057425-16891-15-git-send-email-ehabkost@redhat.com> In-Reply-To: <1446057425-16891-1-git-send-email-ehabkost@redhat.com> References: <1446057425-16891-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 14/16] vl.c: Simplify date format error message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Andrew Jones , Markus Armbruster Signed-off-by: Eduardo Habkost --- vl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 55521a0..686a7d3 100644 --- a/vl.c +++ b/vl.c @@ -828,8 +828,8 @@ static void configure_rtc_date_offset(const char *startdate, int legacy) rtc_start_date = mktimegm(&tm); if (rtc_start_date == -1) { date_fail: - error_report("Invalid date format. Valid formats are:\n" - "'2006-06-17T16:01:21' or '2006-06-17'"); + error_report("invalid date format\n" + "valid formats: '2006-06-17T16:01:21' or '2006-06-17'"); exit(1); } rtc_date_offset = qemu_time() - rtc_start_date; -- 2.1.0