diff -r 3e24a4d68325 -r 88812de1d7cc drivers/can_peak/can_peak.c --- a/drivers/can_peak/can_peak.c Mon Jun 19 16:35:12 2006 +0200 +++ b/drivers/can_peak/can_peak.c Tue Jun 20 16:56:39 2006 +0200 @@ -62,7 +62,7 @@ UNS8 data; TPCANMsg peakMsg; if ((errno = CAN_Read(((CANPort*)fd0)->fd, & peakMsg))) { // Blocks until no new message or error. - if(errno != -EIDRM) // error is not "Can Port closed while reading" + if(errno != -EIDRM && errno != -EPERM) // error is not "Can Port closed while reading" { perror("!!! Peak board : error of reading. (from f_can_receive function) \n"); }