[COMMITTED] rt: Set the correct message queue for tst-mqueue10
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Aug 4 20:40:49 GMT 2021
Checked on x86_64-linux-gnu.
---
rt/tst-mqueue10.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rt/tst-mqueue10.c b/rt/tst-mqueue10.c
index 18795808e0..0bf64d7957 100644
--- a/rt/tst-mqueue10.c
+++ b/rt/tst-mqueue10.c
@@ -25,7 +25,7 @@
#include <support/temp_file.h>
#include <unistd.h>
-static char name[sizeof "/tst-mqueue2-" + INT_BUFSIZE_BOUND (pid_t)];
+static char name[sizeof "/tst-mqueue10-" + INT_BUFSIZE_BOUND (pid_t)];
static void
do_cleanup (void)
@@ -37,7 +37,7 @@ do_cleanup (void)
static int
do_test (void)
{
- snprintf (name, sizeof (name), "/tst-mqueue2-%u", getpid ());
+ snprintf (name, sizeof (name), "/tst-mqueue10-%u", getpid ());
char msg[8] = { 0x55 };
--
2.30.2
More information about the Libc-alpha
mailing list