Date: Fri, 24 Mar 2017 16:18:21 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315911 - head/sys/x86/x86 Message-ID: <201703241618.v2OGILKH080884@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703241618.v2OGILKH080884>