[BACK]Return to mem.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / dc

Diff for /src/usr.bin/dc/mem.c between version 1.9 and 1.10

version 1.9, 2017/12/12 19:08:57 version 1.10, 2017/12/17 08:21:10
Line 91 
Line 91 
 void  void
 bn_check(int x)  bn_check(int x)
 {  {
         if (x == 0)          if (x == 0) {
                 err(1, "big number failure %lx", ERR_get_error());                  ERR_load_BN_strings();
                   errx(1, "BN failure: %s",
                       ERR_reason_error_string(ERR_get_error()));
           }
 }  }
   
 void  void
 bn_checkp(const void *p)  bn_checkp(const void *p)
 {  {
         if (p == NULL)          if (p == NULL) {
                 err(1, "allocation failure %lx", ERR_get_error());                  ERR_load_BN_strings();
                   errx(1, "BN failure: %s",
                       ERR_reason_error_string(ERR_get_error()));
           }
 }  }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10