aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-04 17:14:46 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-04 17:38:38 -0300
commit3d9a539ee66165148b2b9e08b46e03a5f58f65d2 (patch)
treed28c656b1b55162e276c02c3637a298a04f94ed4
parentc52eb066bc634a79e4194457362384abe5b43b3a (diff)
downloadglibc-3d9a539ee66165148b2b9e08b46e03a5f58f65d2.zip
glibc-3d9a539ee66165148b2b9e08b46e03a5f58f65d2.tar.gz
glibc-3d9a539ee66165148b2b9e08b46e03a5f58f65d2.tar.bz2
rt: Set the correct message queue for tst-mqueue10
Checked on x86_64-linux-gnu.
-rw-r--r--rt/tst-mqueue10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/tst-mqueue10.c b/rt/tst-mqueue10.c
index 1879580..0bf64d7 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 };