ziomon: Send MQ poll status messages to stdout

Move MQ poll status messages from stderr to stdout since they are
normal progress indications rather than warnings/errors.

Signed-off-by: Ajaykumar Rajappa <ajaykr@linux.ibm.com>
Reviewed-by: M Nikhil <nikh1092@linux.ibm.com>
Reviewed-by: Nihar Panda <niharp@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Ajaykumar Rajappa
2026-02-23 08:32:20 +01:00
committed by Jan Höppner
parent 6537f711a6
commit daad3bf0e7

View File

@@ -897,14 +897,12 @@ static int setup_msg_q(struct options *opts)
opts->msg_q = msgget(util_q, S_IRWXU);
if (opts->msg_q >= 0) {
if (wait)
fprintf(stderr, "%s: Message queue is up!\n",
toolname);
fprintf(stdout, "%s: Message queue is up!\n", toolname);
break;
}
if (!wait) {
wait = 1;
fprintf(stderr, "%s: Warning: Message queue not"
" up yet, waiting...\n", toolname);
fprintf(stdout, "%s: Message queue not up yet, waiting...\n", toolname);
}
usleep(200000);
}