Skip to content

Commit

Permalink
os/gnulinux: relax log level of failures to set the POSIX thread name…
Browse files Browse the repository at this point in the history
… to Warning

See orocos-toolchain#176 (comment).

Signed-off-by: Johannes Meyer <[email protected]>
  • Loading branch information
meyerj committed May 16, 2017
1 parent 2dd754a commit e297928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtt/os/gnulinux/fosi_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ namespace RTT
}
int result = pthread_setname_np(task->thread, thread_name);
if (result != 0) {
log(Error) << "Failed to set thread name for " << task->name << ": "
<< strerror(result) << endlog();
log(Warning) << "Failed to set thread name for " << task->name << ": "
<< strerror(result) << endlog();
}
}

Expand Down

0 comments on commit e297928

Please sign in to comment.