PERFORCE change 163098 for review

Marko Zec zec at FreeBSD.org
Sat May 30 16:36:44 UTC 2009


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

Change 163098 by zec at zec_tpx32 on 2009/05/30 16:35:54

	Fix typos in comments and s/ /^I/ where appropriate.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/sys/vimage.h#67 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/sys/vimage.h#67 (text+ko) ====

@@ -39,25 +39,25 @@
 /* Interim userspace API. */
 struct vi_req {
 	int	vi_api_cookie;		/* Catch API mismatch. */
-	int	vi_req_action;		/* What to do with this reqest? */
-	u_short vi_proc_count;		/* Current number of processes. */
-	int	vi_if_count;		/* Current number network interfaces. */
+	int	vi_req_action;		/* What to do with this request? */
+	u_short	vi_proc_count;		/* Current number of processes. */
+	int	vi_if_count;		/* Current number of ifnets. */
 	int	vi_sock_count;
 	char	vi_name[MAXPATHLEN];
 	char	vi_if_xname[MAXPATHLEN]; /* XXX should be IFNAMSIZ */
 };
 
-#define VI_CREATE		0x00000001
-#define VI_DESTROY		0x00000002
-#define VI_SWITCHTO		0x00000008
-#define VI_IFACE		0x00000010
-#define VI_GET			0x00000100
-#define VI_GETNEXT		0x00000200
-#define VI_GETNEXT_RECURSE	0x00000300
+#define	VI_CREATE		0x00000001
+#define	VI_DESTROY		0x00000002
+#define	VI_SWITCHTO		0x00000008
+#define	VI_IFACE		0x00000010
+#define	VI_GET			0x00000100
+#define	VI_GETNEXT		0x00000200
+#define	VI_GETNEXT_RECURSE	0x00000300
 
-#define VI_API_VERSION		1		/* Bump on struct changes. */
+#define	VI_API_VERSION		1		/* Bump on struct changes. */
 
-#define VI_API_COOKIE		((sizeof(struct vi_req) << 16) | VI_API_VERSION)
+#define	VI_API_COOKIE		((sizeof(struct vi_req) << 16) | VI_API_VERSION)
 
 #ifdef _KERNEL
 


More information about the p4-projects mailing list