Skip to content

Commit

Permalink
Remove compile warning
Browse files Browse the repository at this point in the history
Signed-off-by: George Muraru <[email protected]>
Reviewed-by: Hugo Lefeuvre <[email protected]>
  • Loading branch information
gmuraru authored and felipehuici committed Jun 27, 2020
1 parent 821c3b2 commit 9020f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attributes.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int pthread_getname_np(pthread_t thread, char *name, size_t len)
if (len < _len + 1)
return ERANGE;

sprintf(name, _uk_thread->name);
sprintf(name,"%s", _uk_thread->name);

return 0;
}

0 comments on commit 9020f04

Please sign in to comment.