summaryrefslogtreecommitdiff
path: root/lib/os_mon/c_src
diff options
context:
space:
mode:
authorKian-Meng, Ang <kianmeng@cpan.org>2021-12-24 14:47:32 +0800
committerKian-Meng, Ang <kianmeng@cpan.org>2021-12-26 15:50:43 +0800
commit7ed77a7cdebc0a976138fb4690ad3f062ab10209 (patch)
treef2b1ab5f6901ce8d6b94e49a1e9e314dc2a19106 /lib/os_mon/c_src
parent58838fa1b2a9325003e67b54630a64d75c390284 (diff)
downloaderlang-7ed77a7cdebc0a976138fb4690ad3f062ab10209.tar.gz
Fix typos in lib/os_mon
Diffstat (limited to 'lib/os_mon/c_src')
-rw-r--r--lib/os_mon/c_src/memsup.c4
-rw-r--r--lib/os_mon/c_src/nteventlog/elog_format.h2
-rw-r--r--lib/os_mon/c_src/nteventlog/elog_main.c2
-rw-r--r--lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c2
-rw-r--r--lib/os_mon/c_src/nteventlog/elog_pipe_stdin.h6
-rw-r--r--lib/os_mon/c_src/win32sysinfo.c2
6 files changed, 9 insertions, 9 deletions
diff --git a/lib/os_mon/c_src/memsup.c b/lib/os_mon/c_src/memsup.c
index 7ea7456003..3cc13c905b 100644
--- a/lib/os_mon/c_src/memsup.c
+++ b/lib/os_mon/c_src/memsup.c
@@ -66,7 +66,7 @@
* This program communicates with Erlang through the standard
* input and output file descriptors (0 and 1). These descriptors
* (and the standard error descriptor 2) must NOT be closed
- * explicitely by this program at termination (in UNIX it is
+ * explicitly by this program at termination (in UNIX it is
* taken care of by the operating system itself; in VxWorks
* it is taken care of by the spawn driver part of the Emulator).
*
@@ -176,7 +176,7 @@ static void print_error(const char *,...);
* PageTables: 9368 kB 2.5.41+
* VmallocTotal: 34359738367 kB ?? total size of vmalloc memory area
* VmallocUsed: 57376 kB ?? amount of vmalloc area which is used
- * VmallocChunk: 34359677947 kB ?? largest contigious block of vmalloc area which is free
+ * VmallocChunk: 34359677947 kB ?? largest contiguous block of vmalloc area which is free
* ReverseMaps: 5738 2.5.41+ number of rmap pte chains
* SwapCached: 0 kB 2.5.??+
* HugePages_Total: 0 2.5.??+
diff --git a/lib/os_mon/c_src/nteventlog/elog_format.h b/lib/os_mon/c_src/nteventlog/elog_format.h
index d92e2a81c3..9b9f3f77c1 100644
--- a/lib/os_mon/c_src/nteventlog/elog_format.h
+++ b/lib/os_mon/c_src/nteventlog/elog_format.h
@@ -34,7 +34,7 @@ char *format_message(MessageFiles mf, DWORD id,
* Formats an eventlog message with the messagefiles
* in mf, the ID id, the stringarray strings,
* containing numstrings strings into buff.
- * if bufflen is to small or anything else failes,
+ * if bufflen is to small or anything else fails,
* the return value is NULL.
*/
diff --git a/lib/os_mon/c_src/nteventlog/elog_main.c b/lib/os_mon/c_src/nteventlog/elog_main.c
index a7b59e516b..bed558f80f 100644
--- a/lib/os_mon/c_src/nteventlog/elog_main.c
+++ b/lib/os_mon/c_src/nteventlog/elog_main.c
@@ -285,7 +285,7 @@ BOOL output_record(char *category, EVENTLOGRECORD *event){
* number and timestamp, and sends them to
* stdout. If timestamp does
* not correspond with record number, the
- * log is concidered wrapped around
+ * log is considered wrapped around
* and is reread from the beginning.
* time is ignored if 0.
* If record_number is 0, the whole log is read (if there is one).
diff --git a/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c b/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c
index 1920268af9..e61bb81920 100644
--- a/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c
+++ b/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.c
@@ -31,7 +31,7 @@ static char *stdin_buff = NULL;
static int stdin_siz = 0;
static int stdin_len = 0;
static int stdin_eof = 0;
-/* end syncronized objects */
+/* end synchronized objects */
static int stdin_is_console = 0;
static HANDLE stdin_event;
diff --git a/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.h b/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.h
index b8f08bb412..239de5016c 100644
--- a/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.h
+++ b/lib/os_mon/c_src/nteventlog/elog_pipe_stdin.h
@@ -22,11 +22,11 @@
/*
* Module: elog_pipe_stdin
* Purpouse: Read data from stdin when stdin is a pipe
- * and deliver events only when data is really availabel or
+ * and deliver events only when data is really available or
* end of file is reached.
* If we would wait on an ordinary pipe handle, we
* would return immediately as it's always "signaled".
- * some kind of asyncronous I/O in the win32 way is
+ * some kind of asynchronous I/O in the win32 way is
* not possible as it's not supported on anonymous pipes
* (besides we have not opened the file ourselves so we
* cannot specify that we want async I/O...).
@@ -66,7 +66,7 @@ BOOL setup_pipe_stdin(void);
/*
* Initializes the module, returns TRUE if OK.
* If stdin is a console, no thread is created
- * and the event objet returned by get_Stdin_event
+ * and the event object returned by get_Stdin_event
* will be the console handle.
* Check if stdin was a console with the console_stdin()
* function.
diff --git a/lib/os_mon/c_src/win32sysinfo.c b/lib/os_mon/c_src/win32sysinfo.c
index 67b3f74910..aeb81b02a5 100644
--- a/lib/os_mon/c_src/win32sysinfo.c
+++ b/lib/os_mon/c_src/win32sysinfo.c
@@ -55,7 +55,7 @@
* get_disk_info 'd'Driveroot (where Driveroot is a string like this "A:\\"
* (request info of specific drive)
- * The result is returned with the same format as above exept that
+ * The result is returned with the same format as above except that
* Type will be DRIVE_NOT_EXIST if the drive does not exist.
*
* get_mem_info 'm' (request info about memory)