From e0be1c75f0ca6dcde4b8ada4867e5ac1b1bdde3b Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Sat, 21 Aug 2010 11:41:32 +0000 Subject: [PATCH] Add sysname to struct opensolaris_utsname. This is needed by one DTrace test. Sponsored by: The FreeBSD Foundation --- sys/cddl/compat/opensolaris/kern/opensolaris_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c b/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c index 4f46933d017c..4ac666dfbe67 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c @@ -38,7 +38,8 @@ __FBSDID("$FreeBSD$"); char hw_serial[11] = "0"; struct opensolaris_utsname utsname = { - .nodename = "unset" + .nodename = "unset", + .sysname = "SunOS" }; int