2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-23 22:11:19 +00:00

Fix incorrect quotes in autocons.c

This commit is contained in:
Jarrod Johnson 2022-01-07 09:28:24 -05:00
parent e54277f8f8
commit c475e4801f

View File

@ -124,7 +124,7 @@ int main(int argc, char* argv[]) {
if (ws.ws_row < 24) { ws.ws_col = 24; }
ioctl(ttyf, TIOCSWINSZ, &ws);
tcsetattr(ttyf, TCSANOW, &tty);
if (argc > 1 && (strcmp(argv[1], '-c') == 0)) {
if (argc > 1 && (strcmp(argv[1], "-c") == 0)) {
ioctl(ttyf, TIOCCONS, 0);
}
}