summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2010-04-06 11:04:20 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2010-04-06 11:04:20 -0400
commit4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6 (patch)
tree248fa663fb7f22863ebc6c68ea914e45d0b4e177 /server
parent801c34bc45981b9faac9442d496d56127cc23e50 (diff)
downloadnastd-4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6.tar.gz
nastd-4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6.zip
Use uint64_t as cast for pthread_self().HEADmaster
Diffstat (limited to 'server')
-rw-r--r--server/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/log.c b/server/log.c
index 6b11209..0afc4ba 100644
--- a/server/log.c
+++ b/server/log.c
@@ -31,7 +31,7 @@ log_priority(int priority, const char *fmt, va_list args)
#endif
(void)snprintf(lbuff, sizeof(lbuff),
- "[tid: %d] %s", (int)pthread_self(), fmt);
+ "[tid: %llu] %s", (uint64_t)pthread_self(), fmt);
vsyslog(priority, lbuff, args);
#if 0