copy_log_file
} else if ((err = copy_log_file(tmplog, stablelog)) == 0) {
if ((cpstat = copy_log_file(filename, tmplog)) == 0) {