numatop/0015-common-Fix-some-typos....

37 lines
1015 B
Diff

From 8c3fe7b2debf74566a6017c92eebc7cb23f9deca Mon Sep 17 00:00:00 2001
From: Sandipan Das <sandipan.das@amd.com>
Date: Thu, 10 Nov 2022 10:43:04 +0530
Subject: [PATCH 15/15] common: Fix some typos
Fix some typos in the messages shown when an user attempts
to monitor a process or thread that has already exited.
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
---
common/win.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/win.c b/common/win.c
index 087efe5..d0a8f3b 100644
--- a/common/win.c
+++ b/common/win.c
@@ -3489,13 +3489,13 @@ win_warn_msg(warn_type_t warn_type)
break;
case WARN_INVALID_PID:
- (void) strncpy(content, "Process exists, "
+ (void) strncpy(content, "Process exited, "
"return to home window ...",
WIN_LINECHAR_MAX);
break;
case WARN_INVALID_LWPID:
- (void) strncpy(content, "Thread exists, "
+ (void) strncpy(content, "Thread exited, "
"return to home window ...",
WIN_LINECHAR_MAX);
break;
--
2.31.1