[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT/PTHREAD-EMBEDDED PATCH 1/1] Remove compile warning
Signed-off-by: George Muraru <murarugeorgec@xxxxxxxxx> --- attributes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributes.c b/attributes.c index a7b4842..a5397bd 100644 --- a/attributes.c +++ b/attributes.c @@ -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; } -- 2.17.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |