svn commit: r211553 - head/sys/cddl/compat/opensolaris/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Aug 28 17:28:00 UTC 2010
On Sat, Aug 21, 2010 at 11:41:32AM +0000, Rui Paulo wrote:
> Author: rpaulo
> Date: Sat Aug 21 11:41:32 2010
> New Revision: 211553
> URL: http://svn.freebsd.org/changeset/base/211553
>
> Log:
> Add sysname to struct opensolaris_utsname. This is needed by one DTrace
> test.
>
> Sponsored by: The FreeBSD Foundation
>
> Modified:
> head/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c
>
> Modified: head/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c
> ==============================================================================
> --- head/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c Sat Aug 21 11:33:49 2010 (r211552)
> +++ head/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c Sat Aug 21 11:41:32 2010 (r211553)
> @@ -38,7 +38,8 @@ __FBSDID("$FreeBSD$");
> char hw_serial[11] = "0";
>
> struct opensolaris_utsname utsname = {
> - .nodename = "unset"
> + .nodename = "unset",
> + .sysname = "SunOS"
This collides with the changes I have in perforce. Could you take a look at:
//depot/user/pjd/zfs/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c
//depot/user/pjd/zfs/sys/cddl/compat/opensolaris/sys/misc.h
I'd prefer sysname to say FreeBSD on FreeBSD, rather than SunOS.
I see it is being used in one DTrace test. Changing 'tst.str.d.out' to
expect "FreeBSD" instead of "SunOS" is ok?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20100828/7977258b/attachment.pgp
More information about the svn-src-head
mailing list