diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-21 11:41:32 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-21 11:41:32 +0000 |
commit | 232561a60dcdeeffd316d29086bb31f2e12d7591 (patch) | |
tree | 5f5ae19f15c3cf24239095c8a84f475665cf8426 /sys/cddl/compat | |
parent | 45dce14583362df310927d9c9af443469471bf14 (diff) | |
download | FreeBSD-src-232561a60dcdeeffd316d29086bb31f2e12d7591.zip FreeBSD-src-232561a60dcdeeffd316d29086bb31f2e12d7591.tar.gz |
Add sysname to struct opensolaris_utsname. This is needed by one DTrace
test.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c b/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c index 4f46933..4ac666d 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 |