From 4315b513d7d51f7c75c920d85d0471140207d475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=D0=B0=20=D0=93=D0=BE=D1=80?= =?UTF-8?q?=D0=BD=D1=83=D1=88=D0=BA=D0=BE?= Date: Tue, 28 Nov 2023 07:04:56 +0300 Subject: [PATCH] fixed missing newline --- main/cmd_can.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/cmd_can.c b/main/cmd_can.c index c56c3fa..693e759 100644 --- a/main/cmd_can.c +++ b/main/cmd_can.c @@ -79,7 +79,7 @@ static int send_can_frame(int argc, char **argv) { // free(can_msg_str_buf); return 0; invalid_args: - printf("Invalid arguments!"); + printf("Invalid arguments!\n"); free(can_msg_str_buf); return 1; } @@ -100,7 +100,7 @@ static const char* can_states_str[] = { static int canstats(int argc, char **argv) { if (curr_can_state.state == CAN_NOT_INSTALLED) { - printf("CAN driver is not installed!"); + printf("CAN driver is not installed!\n"); return 0; } else { const char *state_str = can_states_str[curr_can_state.state];