aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 15:30:52 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 15:30:52 +0000
commit0020bdf13a648162724210025bad2380c778961e (patch)
tree37925975d3cfdd7a83f11f6e6b5b65526b4dfc91 /sys/compat/linux/linux_misc.c
parent32084836c05317848a9ef5c21cde7bd7c8f2a8d0 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 88fdff55bd33..057188c7aa50 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -731,7 +731,7 @@ linux_newuname(struct thread *td, struct linux_newuname_args *args)
*p = '\0';
break;
}
- strlcpy(utsname.machine, linux_platform, LINUX_MAX_UTSNAME);
+ strlcpy(utsname.machine, linux_kplatform, LINUX_MAX_UTSNAME);
return (copyout(&utsname, args->buf, sizeof(utsname)));
}