mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
Fix some bad typos from Google engineers
This commit is contained in:
parent
2baf636d38
commit
8da07f277b
@ -84,7 +84,7 @@ static void cpu_x86_cpuid(int func, int values[4])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __ARM_ARCH__
|
#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
|
* the content of /proc/cpuinfo and return it as a heap-allocated
|
||||||
* string that must be freed by the caller.
|
* 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);
|
int fieldlen = strlen(field);
|
||||||
char* bufend = buffer + length;
|
char* bufend = buffer + length;
|
||||||
char* result = NULL;
|
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;
|
const char *p = buffer;
|
||||||
|
|
||||||
bufend = buffer + length;
|
bufend = buffer + length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user