summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-06-13 15:00:05 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-06-13 15:00:05 +0000
commit1624d96b026159f0deec75a6ef81f9a0338e7811 (patch)
tree5de7079261abf5ebe1bbae0b24c77cbdf94f537a /sys/kern/kern_sysctl.c
parent51ffac1371515194f46b23cc56e869a529549f1c (diff)
beck would prefer to keep things just as they were for a while longer.
undo style changes.
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index acb3aa89de7..e6783216459 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.238 2013/06/11 21:51:55 tedu Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.239 2013/06/13 15:00:04 tedu Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -579,10 +579,10 @@ kern_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
return (EINVAL);
}
if (bufcachepercent != opct) {
- pgs = (b_highpages_total + b_dmapages_total) *
- bufcachepercent / 100;
- b_dmamaxpages = b_dmapages_total * bufcachepercent /
- 100;
+ pgs = (b_highpages_total + b_dmapages_total)
+ * bufcachepercent / 100;
+ b_dmamaxpages = b_dmapages_total * bufcachepercent
+ / 100;
bufadjust(pgs); /* adjust bufpages */
bufhighpages = bufpages; /* set high water mark */
}