Searched refs:new_kmsg (Results 1 – 2 of 2) sorted by relevance
110 std::string new_kmsg(LAST_KMSG_FILE); in rotate_logs() local111 new_kmsg += "." + std::to_string(i+1); in rotate_logs()113 rename(old_kmsg.c_str(), new_kmsg.c_str()); in rotate_logs()
479 std::string new_kmsg = android::base::StringPrintf("%s.%d", LAST_KMSG_FILE, i+1); in rotate_logs() local480 rename(old_kmsg.c_str(), new_kmsg.c_str()); in rotate_logs()