PERFORCE change 125917 for review

Constantine A. Murenin cnst at FreeBSD.org
Fri Aug 31 18:25:44 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=125917

Change 125917 by cnst at dale on 2007/09/01 01:25:17

	KNF

Affected files ...

.. //depot/projects/soc2007/cnst-sensors/sbin.sysctl/sysctl.c#6 edit

Differences ...

==== //depot/projects/soc2007/cnst-sensors/sbin.sysctl/sysctl.c#6 (text+ko) ====

@@ -278,7 +278,7 @@
 				break;
 			case CTLTYPE_OPAQUE:
 				if (strcmp(fmt, "T,dev_t") == 0) {
-					set_T_dev_t (newval, &newval, &newsize);
+					set_T_dev_t(newval, &newval, &newsize);
 					break;
 				}
 				/* FALLTHROUGH */
@@ -433,7 +433,7 @@
 	static struct stat statb;
 
 	if (strcmp(path, "none") && strcmp(path, "off")) {
-		int rc = stat (path, &statb);
+		int rc = stat(path, &statb);
 		if (rc) {
 			err(1, "cannot stat %s", path);
 		}


More information about the p4-projects mailing list