From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpeLz-0002pE-C0 for qemu-devel@nongnu.org; Fri, 23 Oct 2015 11:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpeLy-0001yf-EZ for qemu-devel@nongnu.org; Fri, 23 Oct 2015 11:34:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpeLy-0001yS-AA for qemu-devel@nongnu.org; Fri, 23 Oct 2015 11:34:02 -0400 From: Eduardo Habkost Date: Fri, 23 Oct 2015 13:33:12 -0200 Message-Id: <1445614392-26687-14-git-send-email-ehabkost@redhat.com> In-Reply-To: <1445614392-26687-1-git-send-email-ehabkost@redhat.com> References: <1445614392-26687-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PULL 13/13] vl: trivial: minor tweaks to a max-cpu error msg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Paolo Bonzini , Andrew Jones , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Richard Henderson From: Andrew Jones Signed-off-by: Andrew Jones --- vl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 332d828..dffaf09 100644 --- a/vl.c +++ b/vl.c @@ -4101,8 +4101,8 @@ int main(int argc, char **argv, char **envp) machine_class->max_cpus = machine_class->max_cpus ?: 1; /* Default to UP */ if (max_cpus > machine_class->max_cpus) { - fprintf(stderr, "Number of SMP cpus requested (%d), exceeds max cpus " - "supported by machine `%s' (%d)\n", max_cpus, + fprintf(stderr, "Number of SMP CPUs requested (%d) exceeds max CPUs " + "supported by machine '%s' (%d)\n", max_cpus, machine_class->name, machine_class->max_cpus); exit(1); } -- 2.1.0