X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fkthread.h;h=aabc8a13ba71c7b6f9eab1ddf3842b18800045d4;hb=ed9559d38a87a44e3bda87d73a50aab92471d7dc;hp=00dd957e245b43839db5e0972e74ff541e4dafd1;hpb=fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/kthread.h b/include/linux/kthread.h index 00dd957e245..aabc8a13ba7 100644 --- a/include/linux/kthread.h +++ b/include/linux/kthread.h @@ -6,7 +6,8 @@ struct task_struct *kthread_create(int (*threadfn)(void *data), void *data, - const char namefmt[], ...); + const char namefmt[], ...) + __attribute__((format(printf, 3, 4))); /** * kthread_run - create and wake a thread.