svn commit: r344986 - stable/11/sys/dev/evdev

Vladimir Kondratyev wulf at FreeBSD.org
Sun Mar 10 21:43:14 UTC 2019


Author: wulf
Date: Sun Mar 10 21:43:13 2019
New Revision: 344986
URL: https://svnweb.freebsd.org/changeset/base/344986

Log:
  Fix build breakage caused by r344984
  
  This is a direct commit to stable/11

Modified:
  stable/11/sys/dev/evdev/evdev.c

Modified: stable/11/sys/dev/evdev/evdev.c
==============================================================================
--- stable/11/sys/dev/evdev/evdev.c	Sun Mar 10 20:58:59 2019	(r344985)
+++ stable/11/sys/dev/evdev/evdev.c	Sun Mar 10 21:43:13 2019	(r344986)
@@ -205,9 +205,9 @@ evdev_sysctl_create(struct evdev_dev *evdev)
 	snprintf(ev_unit_str, sizeof(ev_unit_str), "%d", evdev->ev_unit);
 	sysctl_ctx_init(&evdev->ev_sysctl_ctx);
 
-	ev_sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&evdev->ev_sysctl_ctx,
+	ev_sysctl_tree = SYSCTL_ADD_NODE(&evdev->ev_sysctl_ctx,
 	    SYSCTL_STATIC_CHILDREN(_kern_evdev_input), OID_AUTO,
-	    ev_unit_str, CTLFLAG_RD, NULL, "", "device index");
+	    ev_unit_str, CTLFLAG_RD, NULL, "");
 
 	SYSCTL_ADD_STRING(&evdev->ev_sysctl_ctx,
 	    SYSCTL_CHILDREN(ev_sysctl_tree), OID_AUTO, "name", CTLFLAG_RD,


More information about the svn-src-stable mailing list