mirror of
https://github.com/vgough/encfs.git
synced 2025-06-20 19:57:52 +02:00
Correctly check last non-checked return values
This commit is contained in:
parent
42dc11e3b1
commit
0b59ca5859
@ -147,7 +147,9 @@ restart:
|
|||||||
*p = '\0';
|
*p = '\0';
|
||||||
save_errno = errno;
|
save_errno = errno;
|
||||||
if ((term.c_lflag & ECHO) == 0u) {
|
if ((term.c_lflag & ECHO) == 0u) {
|
||||||
(void)write(output, "\n", 1);
|
if(write(output, "\n", 1) != -1) {
|
||||||
|
//dummy test to get rid of warn_unused_result compilation warning
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Restore old terminal settings and signals. */
|
/* Restore old terminal settings and signals. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user