Commit c4a41482 authored by Henrique Silva's avatar Henrique Silva

examples/client.c: change status messages output stream to stderr

parent 52ddb033
......@@ -1751,7 +1751,7 @@ int main (int argc, char *argv [])
bpm_client_err_e err = bpm_acq_get_data_block (bpm_client, acq_service, &acq_trans);
if (err == BPM_CLIENT_SUCCESS) {
fprintf (stdout, "[client:acq]: bpm_get_block was successfully executed\n");
fprintf (stderr, "[client:acq]: bpm_get_block was successfully executed\n");
print_data_curve (acq_chan_val, acq_trans.block.data, acq_trans.block.bytes_read);
} else {
fprintf (stderr, "[client:acq]: bpm_get_block failed\n");
......@@ -1780,7 +1780,7 @@ int main (int argc, char *argv [])
if (err == BPM_CLIENT_SUCCESS) {
print_data_curve (acq_chan_val, acq_trans.block.data, acq_trans.block.bytes_read);
fprintf (stdout, "[client:acq]: bpm_acq_get_curve was successfully executed\n");
fprintf (stderr, "[client:acq]: bpm_acq_get_curve was successfully executed\n");
} else {
fprintf (stderr, "[client:acq]: bpm_acq_get_curve failed: %s\n", bpm_client_err_str(err));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment