diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-14 18:21:07 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-14 18:21:07 +0200 |
commit | bc9d79606b193fcf79a294c12590b258c25c5a0f (patch) | |
tree | accb479ff521928b54fd9f76c2da769c3a18d17b /thread.c | |
parent | b56f2a668bbbcb7d4956ce5c94c932be543420ee (diff) | |
download | mblaze-bc9d79606b193fcf79a294c12590b258c25c5a0f.tar.gz mblaze-bc9d79606b193fcf79a294c12590b258c25c5a0f.tar.xz mblaze-bc9d79606b193fcf79a294c12590b258c25c5a0f.zip |
fix printf format codes
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c index 0b89df2..c5634c7 100644 --- a/thread.c +++ b/thread.c @@ -63,7 +63,7 @@ mid(struct message *msg) // invent new message-id for internal tracking static long i; char buf[32]; - snprintf(buf, sizeof buf, "thread.%08d@localhost", ++i); + snprintf(buf, sizeof buf, "thread%08ld@localhost", ++i); return strdup(buf); } } |