Print this page
12309 errors in section 9e of the manual

@@ -9,11 +9,11 @@
 .\" http://www.illumos.org/license/CDDL.
 .\"
 .\"
 .\" Copyright 2016 Joyent, Inc.
 .\"
-.Dd June 02, 2016
+.Dd February 15, 2020
 .Dt MC_SETPROP 9E
 .Os
 .Sh NAME
 .Nm mc_setprop
 .Nd set device properties

@@ -111,11 +111,11 @@
 and return
 .Sy 0 .
 Otherwise, a positive error should be returned to indicate failure.
 .Sh EXAMPLES
 The following examples shows how a device driver might structure its
-.Fn mc_setporp
+.Fn mc_setprop
 entry point.
 .Bd -literal
 #include <sys/mac_provider.h>
 
 /*

@@ -127,11 +127,11 @@
  * For the purpose of this example, we assume that this device supports 100 Mb,
  * 1 GB, and 10 Gb full duplex speeds.
  */
 
 static int
-exmple_m_setprop(void *arg, const char *pr_name, mac_prop_id_t pr_num,
+example_m_setprop(void *arg, const char *pr_name, mac_prop_id_t pr_num,
     uint_t pr_valsize, const void *pr_val)
 {
         uint32_t new_mtu;
         int ret = 0;
         example_t *ep = arg;