File: spelling.patch

package info (click to toggle)
heartbeat 1%3A3.0.6-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,960 kB
  • sloc: ansic: 42,220; sh: 3,500; python: 1,086; makefile: 912; tcl: 523
file content (67 lines) | stat: -rw-r--r-- 2,020 bytes parent folder | download | duplicates (5)
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
59
60
61
62
63
64
65
66
67
Description: Fix spelling reported by lintian
Author: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Last-Update: 2018-05-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tools/cl_respawn.c
+++ b/tools/cl_respawn.c
@@ -77,7 +77,7 @@
 "-r	Recover itself from crash. Only called by other monitor programs like"
 "	recovery manager.\n"
 "-l	List the program monitored by cl_respawn.\n"
-"	Notice: donnot support yet.\n"
+"	Notice: do not support yet.\n"
 "-h	Display this simple help.\n";
 
 
--- a/membership/ccm/ccmupdate.c
+++ b/membership/ccm/ccmupdate.c
@@ -205,7 +205,7 @@
 				entry->index);
 
 	if (value == 0){
-		ccm_log(LOG_ERR, "update_compute_leader:same id comparsion?");
+		ccm_log(LOG_ERR, "update_compute_leader:same id comparison?");
 		abort();
 	}
 	
@@ -221,7 +221,7 @@
 {
 	int i; 
 	
-	ccm_debug(pri, "diplaying update information: ");
+	ccm_debug(pri, "displaying update information: ");
 	ccm_debug(pri, "leader=%d(%s) nodeCount=%d", 
 	       tab -> leader,
 	       (tab->leader<0 || tab->leader >= (int)llm_get_nodecount(llm))?
--- a/membership/ccm/ccm_statemachine.c
+++ b/membership/ccm/ccm_statemachine.c
@@ -3387,7 +3387,7 @@
 			
 			if (cl_msg_get_list_int(reply,CCM_UPTIMELIST, 
 						uptime_list, &uptime_size) != HA_OK){
-				ccm_log(LOG_ERR,"%s: geting uptie_list failed",
+				ccm_log(LOG_ERR,"%s: getting uptie_list failed",
 					__FUNCTION__);
 				return;
 			}
@@ -3661,7 +3661,7 @@
 			
 			if (cl_msg_get_list_int(reply,CCM_UPTIMELIST, 
 						uptime_list, &uptime_size) != HA_OK){
-				ccm_log(LOG_ERR,"%s: geting uptie_list failed", __FUNCTION__);
+				ccm_log(LOG_ERR,"%s: getting uptie_list failed", __FUNCTION__);
 				return;
 			}
 			
--- a/contrib/mlock/mlock.c
+++ b/contrib/mlock/mlock.c
@@ -295,7 +295,7 @@
 	
 	if(memcmp(buf, msg, LOCKLEN) != 0){
 		output("\nread content is not matched\n");
-		output("conent in file is =%s,\n"
+		output("content in file is =%s,\n"
 		       "the msg compared with is %s\n", buf, msg);
 		exit(1);
 	}