From: Adhemerval Zanella Date: Wed, 4 Aug 2021 20:14:46 +0000 (-0300) Subject: rt: Set the correct message queue for tst-mqueue10 X-Git-Tag: glibc-2.35~603 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9a539ee66165148b2b9e08b46e03a5f58f65d2;p=thirdparty%2Fglibc.git rt: Set the correct message queue for tst-mqueue10 Checked on x86_64-linux-gnu. --- diff --git a/rt/tst-mqueue10.c b/rt/tst-mqueue10.c index 18795808e08..0bf64d79574 100644 --- a/rt/tst-mqueue10.c +++ b/rt/tst-mqueue10.c @@ -25,7 +25,7 @@ #include #include -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 };