mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
Add a missing brace, patch by Hideki IWAMOTO
This commit is contained in:
parent
f15dfc5570
commit
ca1c1afadc
@ -980,6 +980,7 @@ set_window_size(int rows, int cols, int fd)
|
|||||||
if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0)
|
if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0)
|
||||||
|| (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) {
|
|| (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) {
|
||||||
perror_on_device("%s");
|
perror_on_device("%s");
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user