(Setting Modes): Fix typos in example code.
This commit is contained in:
parent
19f342efe6
commit
85adacbd99
@ -423,8 +423,8 @@ set_istrip (int desc, int value)
|
||||
result = tcsetattr (desc, TCSANOW, &settings);
|
||||
if (result < 0)
|
||||
@{
|
||||
perror ("error in tcgetattr");
|
||||
return;
|
||||
perror ("error in tcsetattr");
|
||||
return 0;
|
||||
@}
|
||||
return 1;
|
||||
@}
|
||||
|
Loading…
Reference in New Issue
Block a user