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

Diff for /src/usr.bin/rsync/misc.c between version 1.1 and 1.2

version 1.1, 2019/04/02 05:32:08 version 1.2, 2021/03/22 11:14:42
Line 34 
Line 34 
   
 /* function to assist building execv() arguments */  /* function to assist building execv() arguments */
 void  void
 addargs(arglist *args, char *fmt, ...)  addargs(arglist *args, const char *fmt, ...)
 {  {
         va_list ap;          va_list  ap;
         char *cp;          char    *cp;
         u_int nalloc;          u_int    nalloc;
         int r;          int      r;
   
         va_start(ap, fmt);          va_start(ap, fmt);
         r = vasprintf(&cp, fmt, ap);          r = vasprintf(&cp, fmt, ap);

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