getprogname: rename to px4_get_taskname

This commit is contained in:
Beat Küng
2016-06-09 15:22:29 +02:00
parent 9f5adb2356
commit fcab80bfee
5 changed files with 7 additions and 6 deletions
@@ -388,7 +388,7 @@ unsigned long px4_getpid()
return (unsigned long)pthread_self();
}
const char *getprogname()
const char *px4_get_taskname()
{
pthread_t pid = pthread_self();
const char *prog_name = "UnknownApp";