From c3a04ee5000398d8fc5b75fbf0965e698d98032e Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 16 Sep 2011 08:58:51 +0100 Subject: Fix some typos in output strings --- matrace.c | 4 ++-- mutrace.c | 6 +++--- 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"); -- cgit