diff --git a/src/main.c b/src/main.c index 3b52d35..1fb9284 100644 --- a/src/main.c +++ b/src/main.c @@ -67,7 +67,7 @@ int main(int argc, char **argv) { unlink(SOCKET_ADDRESS); size_t max_size_sun_path = sizeof address.sun_path - 1; if (strlen(SOCKET_ADDRESS) > max_size_sun_path) { - fprintf(stderr, "Too big socket address"); + fprintf(stderr, "Too big socket address\n"); exit (2); } strncpy(address.sun_path, SOCKET_ADDRESS, max_size_sun_path); diff --git a/src/packet/save_request.c b/src/packet/save_request.c index de2c3c3..1e46efd 100644 --- a/src/packet/save_request.c +++ b/src/packet/save_request.c @@ -110,7 +110,7 @@ msPacketSaveRequestSendResponse(struct mCoreThread *threadContext) { pthread_mutex_lock(data->mutexSaveRequests); requestsLen = data->saveRequestsLen; if (!requestsLen) { - printf("Somehow the queue of saveRequests got exhausted, this should not happen."); + printf("Somehow the queue of saveRequests got exhausted, this should not happen.\n"); goto unlock_ms_packet_save_request_send_response; } struct msCoreController *coreController = data->coreController;