From owner-freebsd-current Mon Jan 20 22:15:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3DC337B401 for ; Mon, 20 Jan 2003 22:15:21 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C4C143ED8 for ; Mon, 20 Jan 2003 22:15:21 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 64336 invoked by uid 1000); 21 Jan 2003 06:15:23 -0000 Date: Mon, 20 Jan 2003 22:15:23 -0800 (PST) From: Nate Lawson To: current@freebsd.org Subject: acpi_cpu printf Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG How is this? --- acpi_cpu.c 16 Oct 2002 17:28:52 -0000 1.14 +++ acpi_cpu.c 21 Jan 2003 06:07:43 -0000 @@ -295,8 +295,10 @@ /* set initial speed */ acpi_cpu_power_profile(NULL); - printf("acpi_cpu: CPU throttling enabled, %d steps from 100%% to %d.%d%%\n", - CPU_MAX_SPEED, CPU_SPEED_PRINTABLE(1)); + printf("acpi_cpu: throttling enabled, %d steps from 100%% to %d.%d%%, " + "currently %d.%d%%\n" + CPU_MAX_SPEED, CPU_SPEED_PRINTABLE(1), + CPU_SPEED_PRINTABLE(cpu_current_state)); } /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message