PERFORCE change 124228 for review
Constantine A. Murenin
cnst at FreeBSD.org
Fri Jul 27 23:56:29 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=124228
Change 124228 by cnst at dale on 2007/07/27 23:55:28
KNF
Affected files ...
.. //depot/projects/soc2007/cnst-sensors/sys.kern/kern_sysctl.c#4 edit
Differences ...
==== //depot/projects/soc2007/cnst-sensors/sys.kern/kern_sysctl.c#4 (text+ko) ====
@@ -700,7 +700,7 @@
oidp = SLIST_FIRST(lsp);
name = p+1;
for (p = name; *p && *p != '.'; p++)
- ;
+ ;
i = *p;
if (i == '.')
*p = '\0';
@@ -1392,7 +1392,7 @@
do {
req.oldidx = 0;
req.newidx = 0;
- error = sysctl_root(0, name, namelen, &req);
+ error = sysctl_root(NULL, name, namelen, &req);
} while (error == EAGAIN);
if (req.lock == REQ_WIRED && req.validlen > 0)
More information about the p4-projects
mailing list