From owner-svn-src-head@freebsd.org Fri Mar 24 16:18:22 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46EF5D1B364; Fri, 24 Mar 2017 16:18:22 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13DC51345; Fri, 24 Mar 2017 16:18:22 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2OGIL6G080885; Fri, 24 Mar 2017 16:18:21 GMT (envelope-from gavin@FreeBSD.org) Received: (from gavin@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2OGILKH080884; Fri, 24 Mar 2017 16:18:21 GMT (envelope-from gavin@FreeBSD.org) Message-Id: <201703241618.v2OGILKH080884@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gavin set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson Date: Fri, 24 Mar 2017 16:18:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315911 - head/sys/x86/x86 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 16:18:22 -0000 Author: gavin Date: Fri Mar 24 16:18:20 2017 New Revision: 315911 URL: https://svnweb.freebsd.org/changeset/base/315911 Log: Improve grammar on a warning, and only use one line rather than two when printing it. Modified: head/sys/x86/x86/mp_x86.c Modified: head/sys/x86/x86/mp_x86.c ============================================================================== --- head/sys/x86/x86/mp_x86.c Fri Mar 24 16:01:19 2017 (r315910) +++ head/sys/x86/x86/mp_x86.c Fri Mar 24 16:18:20 2017 (r315911) @@ -209,14 +209,14 @@ add_deterministic_cache(int type, int le if (caches[level - 1].id_shift > pkg_id_shift) { printf("WARNING: L%u data cache covers more " - "APIC IDs than a package\n", level); - printf("%u > %u\n", caches[level - 1].id_shift, pkg_id_shift); + "APIC IDs than a package (%u > %u)\n", level, + caches[level - 1].id_shift, pkg_id_shift); caches[level - 1].id_shift = pkg_id_shift; } if (caches[level - 1].id_shift < core_id_shift) { - printf("WARNING: L%u data cache covers less " - "APIC IDs than a core\n", level); - printf("%u < %u\n", caches[level - 1].id_shift, core_id_shift); + printf("WARNING: L%u data cache covers fewer " + "APIC IDs than a core (%u < %u)\n", level, + caches[level - 1].id_shift, core_id_shift); caches[level - 1].id_shift = core_id_shift; }