PERFORCE change 109348 for review
Roman Divacky
rdivacky at FreeBSD.org
Mon Nov 6 08:41:07 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109348
Change 109348 by rdivacky at 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 at 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;
More information about the p4-projects
mailing list