diff options
-rw-r--r-- | src/basic/terminal-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c index 5ebb7e0a74..2ea502c2bc 100644 --- a/src/basic/terminal-util.c +++ b/src/basic/terminal-util.c @@ -1813,6 +1813,6 @@ int get_default_background_color(double *ret_red, double *ret_green, double *ret } finish: - (void) tcsetattr(STDIN_FILENO, TCSADRAIN, &old_termios); + RET_GATHER(r, RET_NERRNO(tcsetattr(STDIN_FILENO, TCSADRAIN, &old_termios))); return r; } |