Partially revert r259080. bde@ pointed out that there are a lot more style bugs

going on in here than can be fixed, and I introduced some of my own.  Rather
than fix the whole host of them, back out my bugs.

Found by:	bde
X-MFC with:	r259080
This commit is contained in:
Justin Hibbits 2013-12-08 09:34:56 +00:00
parent 468f354b0e
commit 6cec74b2e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259096
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ static u_int g_cache_used_hi = 20;
static int
sysctl_handle_pct(SYSCTL_HANDLER_ARGS)
{
int val;
u_int val = *(u_int *)arg1;
int error;
error = sysctl_handle_int(oidp, &val, 0, req);

View File

@ -168,7 +168,7 @@ SYSCTL_UINT(_kern_geom_journal_cache, OID_AUTO, divisor, CTLFLAG_RDTUN,
static int
g_journal_cache_switch_sysctl(SYSCTL_HANDLER_ARGS)
{
int cswitch;
u_int cswitch;
int error;
cswitch = g_journal_cache_switch;