=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/rdist.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/rdist/rdist.c 2011/04/10 15:47:28 1.20 --- src/usr.bin/rdist/rdist.c 2011/04/21 02:44:15 1.21 *************** *** 1,4 **** ! /* $OpenBSD: rdist.c,v 1.20 2011/04/10 15:47:28 krw Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: rdist.c,v 1.21 2011/04/21 02:44:15 krw Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. *************** *** 42,49 **** char *distfile = NULL; /* Name of distfile to use */ int maxchildren = MAXCHILDREN; /* Max no of concurrent PIDs */ int nflag = 0; /* Say without doing */ ! long min_freespace = 0; /* Min filesys free space */ ! long min_freefiles = 0; /* Min filesys free # files */ FILE *fin = NULL; /* Input file pointer */ char localmsglist[] = "stdout=all:notify=all:syslog=nerror,ferror"; char *remotemsglist = NULL; --- 42,49 ---- char *distfile = NULL; /* Name of distfile to use */ int maxchildren = MAXCHILDREN; /* Max no of concurrent PIDs */ int nflag = 0; /* Say without doing */ ! int64_t min_freespace = 0; /* Min filesys free space */ ! int64_t min_freefiles = 0; /* Min filesys free # files */ FILE *fin = NULL; /* Input file pointer */ char localmsglist[] = "stdout=all:notify=all:syslog=nerror,ferror"; char *remotemsglist = NULL; *************** *** 169,175 **** "'%s'", errstr, optarg); } else if (c == 'A') { ! min_freefiles = (u_int64_t)strtonum(optarg, 0, LLONG_MAX, &errstr); if (errstr) fatalerr("Minimum free files is %s: " --- 169,175 ---- "'%s'", errstr, optarg); } else if (c == 'A') { ! min_freefiles = (int64_t)strtonum(optarg, 0, LLONG_MAX, &errstr); if (errstr) fatalerr("Minimum free files is %s: "