From 5c3e0040eae2a3dcfe95102d9c5642652d4ede5b Mon Sep 17 00:00:00 2001 From: Christoph Kuhr Date: Tue, 12 Feb 2019 09:38:21 +0100 Subject: [PATCH] simple_client_timestamps --- example-clients/simple_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }