svn commit: r286578 - head/sys/cddl/compat/opensolaris/sys

Alexander Motin mav at FreeBSD.org
Mon Aug 10 12:25:27 UTC 2015


Author: mav
Date: Mon Aug 10 12:25:26 2015
New Revision: 286578
URL: https://svnweb.freebsd.org/changeset/base/286578

Log:
  Fix r286574 build in user-space.

Modified:
  head/sys/cddl/compat/opensolaris/sys/kstat.h

Modified: head/sys/cddl/compat/opensolaris/sys/kstat.h
==============================================================================
--- head/sys/cddl/compat/opensolaris/sys/kstat.h	Mon Aug 10 12:03:59 2015	(r286577)
+++ head/sys/cddl/compat/opensolaris/sys/kstat.h	Mon Aug 10 12:25:26 2015	(r286578)
@@ -44,9 +44,9 @@ typedef struct kstat {
 #ifdef _KERNEL
 	struct sysctl_ctx_list ks_sysctl_ctx;
 	struct sysctl_oid *ks_sysctl_root;
+#endif
 	int		(*ks_update)(struct kstat *, int); /* dynamic update */
 	void		*ks_private;	/* arbitrary provider-private data */
-#endif
 } kstat_t;
 
 typedef struct kstat_named {


More information about the svn-src-all mailing list