Fix misc typos

[ci skip]
This commit is contained in:
Christian Göttsche 2021-08-08 15:10:34 +02:00
parent 97a859c5bd
commit 10e9ffd8e5
3 changed files with 3 additions and 3 deletions

View File

@ -230,7 +230,7 @@ When writing your PR or patch, the set of patches should contain the minimal cha
Each patch in itself should ideally be self-contained and runable. Each patch in itself should ideally be self-contained and runable.
A PR should not contain any merge commits. A PR should not contain any merge commits.
To follow the uptream branch of your PR rebase your work instead. To follow the upstream branch of your PR rebase your work instead.
Avoid small commits that just fix typos that another of your commits introduced. Avoid small commits that just fix typos that another of your commits introduced.
Instead squash those changes in the appropriate commit that introduced that mistake. Instead squash those changes in the appropriate commit that introduced that mistake.

View File

@ -159,7 +159,7 @@ static void LinuxProcessList_initNetlinkSocket(LinuxProcessList* this) {
#endif #endif
static void LinuxProcessList_updateCPUcount(ProcessList* super) { static void LinuxProcessList_updateCPUcount(ProcessList* super) {
/* Similiar to get_nprocs_conf(3) / _SC_NPROCESSORS_CONF /* Similar to get_nprocs_conf(3) / _SC_NPROCESSORS_CONF
* https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/getsysstats.c;hb=HEAD * https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/getsysstats.c;hb=HEAD
*/ */

View File

@ -54,7 +54,7 @@ static void SolarisProcessList_updateCPUcount(ProcessList* super) {
s = sysconf(_SC_NPROCESSORS_CONF); s = sysconf(_SC_NPROCESSORS_CONF);
if (s < 1) if (s < 1)
CRT_fatalError("Cannot get exisitng CPU count by sysconf(_SC_NPROCESSORS_CONF)"); CRT_fatalError("Cannot get existing CPU count by sysconf(_SC_NPROCESSORS_CONF)");
if (s != super->existingCPUs) { if (s != super->existingCPUs) {
if (s == 1) { if (s == 1) {