Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2007 01:25:43 GMT
From:      "Constantine A. Murenin" <cnst@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125917 for review
Message-ID:  <200709010125.l811Ph85030302@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125917

Change 125917 by cnst@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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709010125.l811Ph85030302>