Permalink
Browse files

Fix wrong format specifier for pointers (fmtlib)

  • Loading branch information...
frozenblit committed Nov 27, 2018
1 parent dfb9bed commit 54d1a6407b6c8397328b64ce47381c76d7efd071
Showing with 1 addition and 1 deletion.
  1. +1 −1 pol-core/clib/threadhelp.cpp
@@ -218,7 +218,7 @@ void create_thread( ThreadData* td, bool dec_child = false )
int result = pthread_create( &thread, &create_detached_attr, thread_stub2, td );
if ( result != 0 ) // added for better debugging
{
POLLOG.Format( "error in create_thread: {:d} {:d} \"{:s}\" {:d} {:} {:s} {:} {:} {:d}\n" )
POLLOG.Format( "error in create_thread: {:d} {:d} \"{:s}\" {:d} {:} {:s} {:} {:} {:}\n" )
<< result << errno << strerror( errno ) << threads++
<< reinterpret_cast<const void*>( thread_stub2 ) << td->name.c_str()
<< reinterpret_cast<const void*>( td->entry )

0 comments on commit 54d1a64

Please sign in to comment.