svn commit: r346836 - stable/11/sys/compat/linux
Dmitry Chagin
dchagin at FreeBSD.org
Sun Apr 28 14:09:32 UTC 2019
Author: dchagin
Date: Sun Apr 28 14:09:31 2019
New Revision: 346836
URL: https://svnweb.freebsd.org/changeset/base/346836
Log:
MFC r335644 (by emaste@):
Quiet unused fn warning for linuxulator w/o legacy syscalls.
Modified:
stable/11/sys/compat/linux/linux_sysctl.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linux/linux_sysctl.c
==============================================================================
--- stable/11/sys/compat/linux/linux_sysctl.c Sun Apr 28 14:08:05 2019 (r346835)
+++ stable/11/sys/compat/linux/linux_sysctl.c Sun Apr 28 14:09:31 2019 (r346836)
@@ -86,6 +86,7 @@ LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, wrong_leng
LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, return, "int");
+#ifdef LINUX_LEGACY_SYSCALLS
static int
handle_string(struct l___sysctl_args *la, char *value)
{
@@ -115,7 +116,6 @@ handle_string(struct l___sysctl_args *la, char *value)
return (0);
}
-#ifdef LINUX_LEGACY_SYSCALLS
int
linux_sysctl(struct thread *td, struct linux_sysctl_args *args)
{
More information about the svn-src-stable-11
mailing list