Date: Wed, 22 Jan 2003 10:47:18 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Nate Lawson <nate@root.org> Cc: current@freebsd.org Subject: RE: acpi_cpu printf Message-ID: <XFMail.20030122104718.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.21.0301202214370.64259-100000@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21-Jan-2003 Nate Lawson wrote: > 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)); > } Looks ok to me. Thanks. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030122104718.jhb>