Attitude controller: Include process name in poll error message

This commit is contained in:
Lorenz Meier
2016-02-05 00:54:40 +01:00
parent 14946f11c1
commit 9f2498af94

View File

@@ -813,7 +813,7 @@ MulticopterAttitudeControl::task_main()
/* this is undesirable but not much we can do - might want to flag unhappy status */
if (pret < 0) {
warn("poll error %d, %d", pret, errno);
warn("mc att ctrl: poll error %d, %d", pret, errno);
/* sleep a bit before next try */
usleep(100000);
continue;