File: fix-typo.diff

package info (click to toggle)
procdump 2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,900 kB
  • sloc: cpp: 42,512; ansic: 4,610; sh: 1,447; makefile: 107; cs: 76
file content (58 lines) | stat: -rw-r--r-- 2,937 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Description: Fix typos in program source
Author: Anuradha Weeraman <anuradha@debian.org>
Last-Update: 2023-10-15
Forwarded: yes

--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ Options:
    -fc     File descriptor count threshold above which to create a dump of the process.
    -sig    Signal number to intercept to create a dump of the process.
    -e      [.NET] Create dump when the process encounters an exception.
-   -f      [.NET] Filter (include) on the (comma seperated) exception name(s) and exception message(s). Supports wildcards.
+   -f      [.NET] Filter (include) on the (comma separated) exception name(s) and exception message(s). Supports wildcards.
    -pf     Polling frequency.
    -o      Overwrite existing dump file.
    -log    Writes extended ProcDump tracing to syslog.
@@ -164,4 +164,4 @@ Please see also our [Code of Conduct](CODE_OF_CONDUCT.md).
 # License
 Copyright (c) Microsoft Corporation. All rights reserved.
 
-Licensed under the MIT License.
\ No newline at end of file
+Licensed under the MIT License.
diff --git a/src/Monitor.c b/src/Monitor.c
index 3d46ed4..444d383 100644
--- a/src/Monitor.c
+++ b/src/Monitor.c
@@ -387,7 +387,7 @@ void MonitorProcesses(struct ProcDumpConfiguration *self)
             pthread_mutex_lock(&queue_mutex);
 
             // TALQ_FOREACH does not support changing the list while iterating.
-            // We use a seperate delete list instead.
+            // We use a separate delete list instead.
             int count = 0;
             TAILQ_FOREACH(item, &configQueueHead, element)
             {
@@ -1723,7 +1723,7 @@ void *WaitForProfilerCompletion(void *thread_args /* struct ProcDumpConfiguratio
             }
            else if(status=='H')
             {
-                Trace("WaitForProfilerCompletion: Recieved health check ping from profiler");
+                Trace("WaitForProfilerCompletion: Received health check ping from profiler");
             }
 
             free(dump);
diff --git a/src/ProcDumpConfiguration.c b/src/ProcDumpConfiguration.c
index a06cbfd..e86809c 100644
--- a/src/ProcDumpConfiguration.c
+++ b/src/ProcDumpConfiguration.c
@@ -1043,7 +1043,7 @@ int PrintUsage()
     printf("   -fc     File descriptor count threshold above which to create a dump of the process.\n");
     printf("   -sig    Signal number to intercept to create a dump of the process.\n");
     printf("   -e      [.NET] Create dump when the process encounters an exception.\n");
-    printf("   -f      [.NET] Filter (include) on the (comma seperated) exception name(s) and exception messages(s). Supports wildcards.\n");
+    printf("   -f      [.NET] Filter (include) on the (comma separated) exception name(s) and exception messages(s). Supports wildcards.\n");
     printf("   -pf     Polling frequency.\n");
     printf("   -o      Overwrite existing dump file.\n");
     printf("   -log    Writes extended ProcDump tracing to syslog.\n");