Searched refs:file_1 (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslogd.c | 752 char *file_1; in cycle_log() local 769 file_1 = (char *)malloc(PATH_MAX); in cycle_log() 772 (void) sprintf(file_1, "%s.%d", filename, i); in cycle_log() 774 if (rename(file_1, file_2) == -1) { in cycle_log() 779 file_1, file_2, strerror(error)); in cycle_log() 784 (void) sprintf(file_1, "%s.0", filename); in cycle_log() 785 if (rename(filename, file_1) == -1) { in cycle_log() 790 filename, file_1, strerror(error)); in cycle_log() 796 out: free(file_1); in cycle_log()
|