diff --git a/example-clients/simple_client.c b/example-clients/simple_client.c index 517f3eb8..27376918 100644 --- a/example-clients/simple_client.c +++ b/example-clients/simple_client.c @@ -117,9 +117,9 @@ process (jack_nframes_t nframes, void *arg) } memset(msg_send, 0, Q_MSG_SIZE); - sprintf (msg_send, "%x", (sys_time.tv_sec*1000000000ULL + sys_time.tv_nsec)); + sprintf (msg_send, "%llx", (sys_time.tv_sec*1000000000ULL + sys_time.tv_nsec)); - if (mq_send(tsq, msg_send, Q_MSG_SIZE, NULL) < 0) { + if (mq_send(tsq, msg_send, Q_MSG_SIZE, 0) < 0) { fprintf(filepointer, "send error %d %s %s\n", errno, strerror(errno), msg_send);fflush(filepointer); }