Date: Mon, 6 Nov 2006 08:41:05 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 109348 for review Message-ID: <200611060841.kA68f5Yf035257@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109348 Change 109348 by rdivacky@rdivacky_witten on 2006/11/06 08:40:19 Dont print the hostname argument in sethostname. We would have to copyin the string etc. which is too much work for not so interesting syscall. Noticed by: "Scot Hetzel" <swhetzel@gmail.com> Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#28 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#28 (text+ko) ==== @@ -1543,7 +1543,7 @@ #ifdef DEBUG if (ldebug(sethostname)) - printf(ARGS(sethostname, "%s, %i"), args->hostname, args->len); + printf(ARGS(sethostname, "*, %i"), args->len); #endif name[0] = CTL_KERN;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611060841.kA68f5Yf035257>