mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
6537f711a6
commit
daad3bf0e7
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user