From c475e4801ff690a697b040c3d9569f3b7aada982 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 7 Jan 2022 09:28:24 -0500 Subject: [PATCH] Fix incorrect quotes in autocons.c --- confluent_osdeploy/utils/autocons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/utils/autocons.c b/confluent_osdeploy/utils/autocons.c index 54c6ca73..9d99dcfa 100644 --- a/confluent_osdeploy/utils/autocons.c +++ b/confluent_osdeploy/utils/autocons.c @@ -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); } }