Skip to content

Commit

Permalink
Fix strict compilation
Browse files Browse the repository at this point in the history
This was broken by 4464d43

Addresses #110
  • Loading branch information
wez committed Jun 8, 2015
1 parent 5891e35 commit ea3a16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const char *w_set_thread_name(const char *fmt, ...) {
va_list ap;
free(pthread_getspecific(thread_name_key));
va_start(ap, fmt);
vasprintf(&name, fmt, ap);
ignore_result(vasprintf(&name, fmt, ap));
va_end(ap);
pthread_setspecific(thread_name_key, name);
return name;
Expand Down

0 comments on commit ea3a16a

Please sign in to comment.