File: 0011-Correct-spelling-mistakes-in-binary.patch

package info (click to toggle)
docbook-to-man 1%3A2.0.0-49
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,824 kB
  • sloc: ansic: 5,843; makefile: 155; sh: 28
file content (35 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download | duplicates (3)
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
From: Chris Lamb <lamby@debian.org>
Date: Mon, 30 Oct 2017 09:51:04 +0000
Subject: Correct spelling mistakes in binary.

---
 Instant/browse.c | 2 +-
 Instant/info.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Instant/browse.c b/Instant/browse.c
index a1dde52..503c6cb 100644
--- a/Instant/browse.c
+++ b/Instant/browse.c
@@ -275,7 +275,7 @@ Browse()
 	else if (!strcmp(cmd, "quit")) break;
 
 	else
-	    fprintf(stderr, "Unknown command '%s' - ingored.\n", cmd);
+	    fprintf(stderr, "Unknown command '%s' - ignored.\n", cmd);
     }
     putc(NL, stdout);
 }
diff --git a/Instant/info.c b/Instant/info.c
index 7d9c494..a8abc55 100644
--- a/Instant/info.c
+++ b/Instant/info.c
@@ -253,7 +253,7 @@ PrintStats(
     int		dif_el=0, tot_el=0, tot_data=0, nchars, max_depth=0;
     float	pct;
 
-    fprintf(outfp, "%-22s %s   %s\n", "Element name",    "Occurrances", "Character Content");
+    fprintf(outfp, "%-22s %s   %s\n", "Element name",    "Occurrences", "Character Content");
     fprintf(outfp, "%-22s %s   %s\n", "---------------", "-----------", "-----------------");
 
     acc_tots(top, &tot_el, &tot_data, &max_depth);