diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-04-15 04:57:03 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-04-15 04:57:03 +0000 |
commit | c1a639e73b1368eecdfbd34a2d56a6af0f4979f0 (patch) | |
tree | e7cd74db703c411eb2ce4232e1f2ecb5b77c1654 /sys/arch | |
parent | c25c10cf330c4bd2accac4e2b3e0bbb8c766393c (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')
-rw-r--r-- | sys/arch/i386/i386/powernow-k7.c | 4 |
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; } /* |