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

@@ -94,11 +94,11 @@
              "_tx_intr_throttle",
              NULL
      };
 
      static mac_callbacks_t example_m_callbacks = {
-             .mc_callbacsk = MC_GETCAPAB | MC_SETPROP | MC_GETPROP | MC_PROPINFO |
+             .mc_callbacks = MC_GETCAPAB | MC_SETPROP | MC_GETPROP | MC_PROPINFO |
                  MC_IOCTL,
              .mc_start = example_m_start,
              .mc_stop = example_m_stop,
              .mc_setpromisc = example_m_setpromisc,
              .mc_multicst = example_m_multicst,

@@ -127,11 +127,11 @@
              mac->m_src_addr = ep->ep_mac_addr;
              mac->m_callbacks = &example_m_callbacks;
              mac->m_min_sdu = 0;
              mac->m_max_sdu = ep->ep_sdu;
              mac->m_margin = VLAN_TAGSZ;
-             mac->m_priv_props = exmple_priv_props;
+             mac->m_priv_props = example_priv_props;
 
              status = mac_register(mac, &ep->ep_mac_hdl);
              mac_free(mac);
 
              return (status == 0);

@@ -182,6 +182,6 @@
 
 SEE ALSO
      attach(9E), detach(9E), mac(9E), mac_alloc(9F), mac_init_ops(9F),
      mac_callbacks(9S), mac_register(9S)
 
-illumos                       September 22, 2017                       illumos
+illumos                        February 15, 2020                       illumos