@@ -848,7 +848,8 @@ static void start_write_threads(size_t num) /* {{{ */
848848 }
849849
850850 char name [THREAD_NAME_MAX ];
851- snprintf (name , sizeof (name ), "writer#%" PRIu64 , (uint64_t )write_threads_num );
851+ snprintf (name , sizeof (name ), "writer#%" PRIu64 ,
852+ (uint64_t )write_threads_num );
852853 set_thread_name (write_threads [write_threads_num ], name );
853854
854855 write_threads_num ++ ;
@@ -960,9 +961,9 @@ static void plugin_free_loaded(void) {
960961
961962#define BUFSIZE 512
962963#ifdef WIN32
963- # define SHLIB_SUFFIX ".dll"
964+ #define SHLIB_SUFFIX ".dll"
964965#else
965- # define SHLIB_SUFFIX ".so"
966+ #define SHLIB_SUFFIX ".so"
966967#endif
967968int plugin_load (char const * plugin_name , _Bool global ) {
968969 DIR * dh ;
@@ -1004,7 +1005,8 @@ int plugin_load(char const *plugin_name, _Bool global) {
10041005 * type when matching the filename */
10051006 status = snprintf (typename , sizeof (typename ), "%s" SHLIB_SUFFIX , plugin_name );
10061007 if ((status < 0 ) || ((size_t )status >= sizeof (typename ))) {
1007- WARNING ("plugin_load: Filename too long: \"%s" SHLIB_SUFFIX "\"" , plugin_name );
1008+ WARNING ("plugin_load: Filename too long: \"%s" SHLIB_SUFFIX "\"" ,
1009+ plugin_name );
10081010 return -1 ;
10091011 }
10101012
0 commit comments