Searched refs:file_2 (Results 1 – 1 of 1) sorted by relevance
753 char *file_2; in cycle_log() local770 file_2 = (char *)malloc(PATH_MAX); in cycle_log()773 (void) sprintf(file_2, "%s.%d", filename, (i + 1)); in cycle_log()774 if (rename(file_1, file_2) == -1) { in cycle_log()779 file_1, file_2, strerror(error)); in cycle_log()797 free(file_2); in cycle_log()