Date: Sat, 30 May 2009 16:36:43 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 163098 for review Message-ID: <200905301636.n4UGahj4069501@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163098 Change 163098 by zec@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905301636.n4UGahj4069501>