summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2006-04-15 04:57:03 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2006-04-15 04:57:03 +0000
commitc1a639e73b1368eecdfbd34a2d56a6af0f4979f0 (patch)
treee7cd74db703c411eb2ce4232e1f2ecb5b77c1654 /sys/arch/i386
parentc25c10cf330c4bd2accac4e2b3e0bbb8c766393c (diff)
Change the return value in k7_powernow_setperf() from 1 to 0 so that it
does not print "operation not permitted" even though the operation was successful. ok dlg@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/powernow-k7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/powernow-k7.c b/sys/arch/i386/i386/powernow-k7.c
index a68500d8beb..6d57470b3ce 100644
--- a/sys/arch/i386/i386/powernow-k7.c
+++ b/sys/arch/i386/i386/powernow-k7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow-k7.c,v 1.13 2006/04/15 04:25:12 gwk Exp $ */
+/* $OpenBSD: powernow-k7.c,v 1.14 2006/04/15 04:57:02 gwk Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
@@ -212,7 +212,7 @@ k7_powernow_setperf(int level)
pentium_mhz = ((cstate->state_table[i].freq / 100000)+1)*100;
- return 1;
+ return 0;
}
/*