From owner-p4-projects@FreeBSD.ORG Mon Nov 6 08:41:07 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E683316A412; Mon, 6 Nov 2006 08:41:06 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A971216A47C for ; Mon, 6 Nov 2006 08:41:06 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D21243D64 for ; Mon, 6 Nov 2006 08:41:06 +0000 (GMT) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kA68f6se035260 for ; Mon, 6 Nov 2006 08:41:06 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA68f5Yf035257 for perforce@freebsd.org; Mon, 6 Nov 2006 08:41:05 GMT (envelope-from rdivacky@FreeBSD.org) Date: Mon, 6 Nov 2006 08:41:05 GMT Message-Id: <200611060841.kA68f5Yf035257@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rdivacky@FreeBSD.org using -f From: Roman Divacky To: Perforce Change Reviews Cc: Subject: PERFORCE change 109348 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 08:41:07 -0000 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" 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;