mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 08:06:34 +02:00
Fix spelling in various files
codespell parameters: codespell -q 3 --skip="*.in,*.sh,*.m4,config,configure,autom4te.cache" Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ int pty2can(int pty, int socket, struct can_filter *fi,
|
||||
|
||||
nbytes = read(pty, &buf[rxoffset], sizeof(buf)-rxoffset-1);
|
||||
if (nbytes <= 0) {
|
||||
/* nbytes == 0 : no error but pty decriptor has been closed */
|
||||
/* nbytes == 0 : no error but pty descriptor has been closed */
|
||||
if (nbytes < 0)
|
||||
perror("read pty");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user