Searched refs:log_name (Results 1 – 1 of 1) sorted by relevance
121 static unsigned int GetLogIndex(const std::string& log_name) { in GetLogIndex() argument122 if (log_name == "last_log" || log_name == "last_kmsg") { in GetLogIndex()127 if (sscanf(log_name.c_str(), "last_log.%u", &index) == 1 || in GetLogIndex()128 sscanf(log_name.c_str(), "last_kmsg.%u", &index) == 1) { in GetLogIndex()