[PATCH 03/11] ipcutils, lsipc: unabbreviate two words in some error messages

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Signed-off-by: Benno Schulenberg <[email protected]>
---
 sys-utils/ipcutils.c | 2 +-
 sys-utils/lsipc.c    | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-utils/ipcutils.c b/sys-utils/ipcutils.c
index a755849fb..e3da523b7 100644
--- a/sys-utils/ipcutils.c
+++ b/sys-utils/ipcutils.c
@@ -677,7 +677,7 @@ int posix_ipc_msg_get_info(const char *name, struct posix_msg_data **msgds)
 	}
 
 	if (name && name[0] != '/') {
-		warnx(_("mqueue name must start with '/': %s"), name);
+		warnx(_("message queue name must start with '/': %s"), name);
 		return -1;
 	}
 
diff --git a/sys-utils/lsipc.c b/sys-utils/lsipc.c
index 133957ea9..074dc4520 100644
--- a/sys-utils/lsipc.c
+++ b/sys-utils/lsipc.c
@@ -784,7 +784,7 @@ static void do_posix_sem(const char *name, struct lsipc_control *ctl,
 
 	if (retval < 1) {
 		if (name != NULL)
-			warnx(_("mqueue %s not found"), name);
+			warnx(_("message queue %s not found"), name);
 		return;
 	}
 
@@ -1010,7 +1010,7 @@ static void do_posix_msg(const char *name, struct lsipc_control *ctl,
 
 	if (retval < 1) {
 		if (name != NULL)
-			warnx(_("mqueue %s not found"), name);
+			warnx(_("message queue %s not found"), name);
 		return;
 	}
 
@@ -1326,7 +1326,7 @@ static void do_posix_shm(const char *name, struct lsipc_control *ctl, struct lib
 
 	if (retval < 1) {
 		if (name != NULL)
-			warnx(_("shm %s not found"), name);
+			warnx(_("shared memory segment %s not found"), name);
 		return;
 	}
 
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.