From 8da07f277bc1672bab3cad8a3b83c4c662ecea43 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 25 Dec 2015 06:03:16 +0100 Subject: [PATCH] Fix some bad typos from Google engineers --- frontend/drivers/platform_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/drivers/platform_linux.c b/frontend/drivers/platform_linux.c index 2f23e52140..20555ec000 100644 --- a/frontend/drivers/platform_linux.c +++ b/frontend/drivers/platform_linux.c @@ -84,7 +84,7 @@ static void cpu_x86_cpuid(int func, int values[4]) #endif #ifdef __ARM_ARCH__ -/* Extract the content of a the first occurence of a given field in +/* Extract the content of a the first occurrence of a given field in * the content of /proc/cpuinfo and return it as a heap-allocated * string that must be freed by the caller. * @@ -97,7 +97,7 @@ static char *extract_cpuinfo_field(char* buffer, ssize_t length, const char* fie int fieldlen = strlen(field); char* bufend = buffer + length; char* result = NULL; - /* Look for first field occurence, and ensures it starts the line. */ + /* Look for first field occurrence, and ensures it starts the line. */ const char *p = buffer; bufend = buffer + length;