summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-09-16 08:58:51 +0100
committerLennart Poettering <lennart@poettering.net>2011-09-19 23:58:07 +0200
commitc3a04ee5000398d8fc5b75fbf0965e698d98032e (patch)
tree613cd42fdd195f21fb0bc43635ba7d49b381f7b4
parent9272c8717980b2bdb11f9201d476b7e8165a73fd (diff)
Fix some typos in output strings
-rw-r--r--matrace.c4
-rw-r--r--mutrace.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/matrace.c b/matrace.c
index b32803d..defaf2b 100644
--- a/matrace.c
+++ b/matrace.c
@@ -192,7 +192,7 @@ static void setup(void) {
initialized = true;
- fprintf(stderr, "matrace: "PACKAGE_VERSION" sucessfully initialized for process %s (pid %lu).\n",
+ fprintf(stderr, "matrace: "PACKAGE_VERSION" successfully initialized for process %s (PID: %lu).\n",
get_prname(), (unsigned long) getpid());
}
@@ -207,7 +207,7 @@ static void show_summary(void) {
fprintf(stderr,
"\n"
- "matrace: Total of %u allocations and %u frees in non-realtime threads in process %s (pid %lu).\n"
+ "matrace: Total of %u allocations and %u frees in non-realtime threads in process %s (PID: %lu).\n"
"matrace: Total of %u allocations and %u frees in realtime threads.\n",
n_allocations_non_rt,
n_frees_non_rt,
diff --git a/mutrace.c b/mutrace.c
index bca604e..83a25f2 100644
--- a/mutrace.c
+++ b/mutrace.c
@@ -354,7 +354,7 @@ static void setup(void) {
initialized = true;
- fprintf(stderr, "mutrace: "PACKAGE_VERSION" sucessfully initialized for process %s (pid %lu).\n",
+ fprintf(stderr, "mutrace: "PACKAGE_VERSION" successfully initialized for process %s (PID: %lu).\n",
get_prname(), (unsigned long) getpid());
}
@@ -560,7 +560,7 @@ static void show_summary(void) {
fprintf(stderr,
"\n"
- "mutrace: Showing statistics for process %s (pid %lu).\n", get_prname(), (unsigned long) getpid());
+ "mutrace: Showing statistics for process %s (PID: %lu).\n", get_prname(), (unsigned long) getpid());
n = 0;
for (u = 0; u < hash_size; u++) {
@@ -627,7 +627,7 @@ static void show_summary(void) {
" Object: M = Mutex, W = RWLock /||||\n"
" State: x = dead, ! = inconsistent /|||\n"
" Use: R = used in realtime thread /||\n"
- " Mutex Type: r = RECURSIVE, e = ERRRORCHECK, a = ADAPTIVE /|\n"
+ " Mutex Type: r = RECURSIVE, e = ERRORCHECK, a = ADAPTIVE /|\n"
" Mutex Protocol: i = INHERIT, p = PROTECT /\n"
" RWLock Kind: r = PREFER_READER, w = PREFER_WRITER, W = PREFER_WRITER_NONREC \n");