Date: Thu, 19 Jun 2008 05:57:55 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 143746 for review Message-ID: <200806190557.m5J5vtpN029735@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143746 Change 143746 by julian@julian_trafmon1 on 2008/06/19 05:57:37 white space diffs and such Affected files ... .. //depot/projects/vimage-devel/src/sys/i386/i386/dump_machdep.c#5 edit .. //depot/projects/vimage-devel/src/sys/i386/i386/minidump_machdep.c#5 edit .. //depot/projects/vimage-devel/src/sys/kern/kern_xxx.c#4 edit Differences ... ==== //depot/projects/vimage-devel/src/sys/i386/i386/dump_machdep.c#5 (text+ko) ==== @@ -112,7 +112,6 @@ mkdumpheader(struct kerneldumpheader *kdh, uint32_t archver, uint64_t dumplen, uint32_t blksz) { - INIT_VPROCG(TD_TO_VPROCG(&thread0)); /* XXX */ bzero(kdh, sizeof(*kdh)); strncpy(kdh->magic, KERNELDUMPMAGIC, sizeof(kdh->magic)); ==== //depot/projects/vimage-devel/src/sys/i386/i386/minidump_machdep.c#5 (text) ==== @@ -86,7 +86,6 @@ mkdumpheader(struct kerneldumpheader *kdh, uint32_t archver, uint64_t dumplen, uint32_t blksz) { - INIT_VPROCG(TD_TO_VPROCG(curthread)); bzero(kdh, sizeof(*kdh)); strncpy(kdh->magic, KERNELDUMPMAGIC, sizeof(kdh->magic)); ==== //depot/projects/vimage-devel/src/sys/kern/kern_xxx.c#4 (text+ko) ==== @@ -273,21 +273,20 @@ struct setdomainname_args *uap; { INIT_VPROCG(TD_TO_VPROCG(td)); - int error, domainnamelen; + int error, domainnamelen; error = priv_check(td, PRIV_SETDOMAINNAME); -printf("setdomainname error=%d\n", error); if (error) return (error); mtx_lock(&Giant); - if ((u_int)uap->len > sizeof (V_domainname) - 1) { + if ((u_int)uap->len > sizeof (V_domainname) - 1) { error = EINVAL; goto done2; } - domainnamelen = uap->len; - error = copyin(uap->domainname, V_domainname, uap->len); - V_domainname[domainnamelen] = 0; + domainnamelen = uap->len; + error = copyin(uap->domainname, V_domainname, uap->len); + V_domainname[domainnamelen] = 0; done2: mtx_unlock(&Giant); - return (error); + return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806190557.m5J5vtpN029735>