On 4/11/2023 2:52 PM, Jürgen Appel wrote: > Dear Maciek, > > On Tuesday, 11 April 2023 11:19:50 CEST, you wrote: > >> Currently ts2phc prints "poll failed" error to the LOG_EMERG when >> the poll for tod fails. This causes error print on all terminals >> when the tool gets terminated using SIGINT (ex. by pressing CTRL+C). > > >> @@ -384,7 +384,8 @@ int ts2phc_pps_sink_poll(struct ts2phc_private *priv) >> if (errno == -EINTR) { > > There is a sign error here (see also my email from 2023-03-14 08:56 [Linuxptp- > devel] [PATCH 1/4] use pulsewidth to discriminate edges) > > the comparison should be against EINTR and not -EINTR > > Best regards, > Jürgen Appel
Good catch! Thanks, Maciek _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel