mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
async/Stack.cc: fix conversion specifier
Fix for: [src/msg/async/Stack.cc:42]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
1ad4a13171
commit
c6e4ea9cf0
@ -39,7 +39,7 @@ std::function<void ()> NetworkStack::add_thread(unsigned i)
|
||||
Worker *w = workers[i];
|
||||
return [this, w]() {
|
||||
char tp_name[16];
|
||||
sprintf(tp_name, "msgr-worker-%d", w->id);
|
||||
sprintf(tp_name, "msgr-worker-%u", w->id);
|
||||
ceph_pthread_setname(pthread_self(), tp_name);
|
||||
const uint64_t EventMaxWaitUs = 30000000;
|
||||
w->center.set_owner();
|
||||
|
Loading…
Reference in New Issue
Block a user