afs.c:291: warning: declaration of `log' shadows a global declaration
}
static int chk_barrier(const char *bname, const struct timeval *now,
- const struct timeval *barrier, struct timeval *diff, int log)
+ const struct timeval *barrier, struct timeval *diff,
+ int print_log)
{
long ms;
if (tv_diff(now, barrier, diff) > 0)
return 1;
ms = tv2ms(diff);
- if (log && ms)
+ if (print_log && ms)
PARA_DEBUG_LOG("%s barrier: %lims left\n", bname, ms);
return -1;
}