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

Diff for /src/usr.bin/sndiod/utils.c between version 1.1 and 1.2

version 1.1, 2012/11/23 07:03:28 version 1.2, 2016/01/08 16:17:31
Line 91 
Line 91 
                         c += (c < 10) ? '0' : 'a' - 10;                          c += (c < 10) ? '0' : 'a' - 10;
                         LOG_PUTC(c);                          LOG_PUTC(c);
                 }                  }
         } else          } else
                 LOG_PUTC('0');                  LOG_PUTC('0');
 }  }
   
Line 146 
Line 146 
 xmalloc(size_t size)  xmalloc(size_t size)
 {  {
         void *p;          void *p;
   
         p = malloc(size);          p = malloc(size);
         if (p == NULL) {          if (p == NULL) {
                 log_puts("failed to allocate ");                  log_puts("failed to allocate ");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2