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

@@ -9,11 +9,11 @@
 .\" http://www.illumos.org/license/CDDL.
 .\"
 .\"
 .\" Copyright (c) 2017, Joyent, Inc.
 .\"
-.Dd September 22, 2017
+.Dd February 15, 2020
 .Dt MAC_REGISTER 9F
 .Os
 .Sh NAME
 .Nm mac_register ,
 .Nm mac_unregister

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

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