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

Diff for /src/usr.bin/file/xmalloc.c between version 1.3 and 1.4

version 1.3, 2015/11/17 18:25:03 version 1.4, 2019/06/28 05:44:09
Line 80 
Line 80 
         i = vasprintf(ret, fmt, ap);          i = vasprintf(ret, fmt, ap);
         va_end(ap);          va_end(ap);
   
         if (i < 0 || *ret == NULL)          if (i == -1)
                 err(1, "xasprintf");                  err(1, "xasprintf");
   
         return i;          return i;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4