-/* $OpenBSD: powernow-k8.c,v 1.28 2018/01/14 00:33:09 bluhm Exp $ */
+/* $OpenBSD: powernow-k8.c,v 1.29 2022/02/21 08:16:08 jsg Exp $ */
/*
* Copyright (c) 2004 Martin VĂ©giard.
* Copyright (c) 2004-2005 Bruno Ducrot
needtran = 0;
if (curs < 0) {
- /* Our current opearting state is not among the ones found the new PSS */
+ /*
+ * Our current operating state is not among
+ * the ones found the new PSS.
+ */
curs = ((perflevel * npss) + 1) / 101;
if (curs >= npss)
curs = npss - 1;