diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2011-09-16 08:58:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-19 23:58:07 +0200 |
commit | c3a04ee5000398d8fc5b75fbf0965e698d98032e (patch) | |
tree | 613cd42fdd195f21fb0bc43635ba7d49b381f7b4 | |
parent | 9272c8717980b2bdb11f9201d476b7e8165a73fd (diff) |
Fix some typos in output strings
-rw-r--r-- | matrace.c | 4 | ||||
-rw-r--r-- | mutrace.c | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -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, @@ -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"); |