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 --- mutrace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mutrace.c') 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