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

@@ -64,11 +64,11 @@
      value of the property into pr_val and return 0.  Otherwise, a positive
      error should be returned to indicate failure.
 
 EXAMPLES
      The following examples shows how a device driver might structure its
-     mc_setporp() entry point.
+     mc_setprop() entry point.
 
      #include <sys/mac_provider.h>
 
      /*
       * Note, this example merely shows the structure of this function.

@@ -79,11 +79,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;

@@ -187,6 +187,6 @@
                         handle data; for example, it's suspended.
 
 SEE ALSO
      mac(9E), mac_register(9F), strcmp(9F), mac_register(9S)
 
-illumos                          June 2, 2016                          illumos
+illumos                        February 15, 2020                       illumos