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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9e/mc_getprop.9e.man.txt
          +++ new/usr/src/man/man9e/mc_getprop.9e.man.txt
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87  
  88   88       static int
  89   89       example_m_getprop_private(example_t *ep, const char *pr_name, uint_t pr_valsize,
  90   90           void *pr_val)
  91   91       {
  92   92               uint32_t val;
  93   93  
  94   94               ASSERT(MUTEX_HELD(&ep->ep_lock));
  95   95               if (strcmp(pr_name, example_priv_props[0] == 0) {
  96   96                       val = ep->ep_rx_itr;
  97      -             } else if (strcmp(pr_name, exampe_priv_props[1] == 0) {
       97 +             } else if (strcmp(pr_name, example_priv_props[1] == 0) {
  98   98                       val = ep->ep_tx_itr;
  99   99               } else {
 100  100                       return (ENOTSUP);
 101  101               }
 102  102  
 103  103               /*
 104  104                * Due to issues in the GLDv3, these must be returned as string
 105  105                * properties.
 106  106                */
 107  107               if (snprintf(pr_val, pr_valsize, "%d", val) >= pr_valsize)
↓ open down ↓ 64 lines elided ↑ open up ↑
 172  172  
 173  173       ENOTSUP            This error should be used whenever an unknown or
 174  174                          unsupported property is encountered.
 175  175  
 176  176       EOVERFLOW          This error should be used when pr_valsize is smaller
 177  177                          than the required size for a given value.
 178  178  
 179  179  SEE ALSO
 180  180       mac(9E), mac_register(9F), strcmp(9F), mac_register(9S)
 181  181  
 182      -illumos                        November 15, 2016                       illumos
      182 +illumos                        February 15, 2020                       illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX