]> git.proxmox.com Git - mirror_corosync-qdevice.git/commitdiff
qdevice-net: Log adds newline automatically
authorJan Friesse <jfriesse@redhat.com>
Mon, 31 Aug 2020 09:58:23 +0000 (11:58 +0200)
committerJan Friesse <jfriesse@redhat.com>
Mon, 31 Aug 2020 15:04:49 +0000 (17:04 +0200)
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
qdevices/qdevice-net-cast-vote-timer.c

index b5d20de1d9d8fe61ae22af31e2fadaa4dd62d3e5..33004dbefcde2a2a30b1e3b009fe9f6d646139d5 100644 (file)
@@ -76,7 +76,7 @@ qdevice_net_cast_vote_timer_callback(void *data1, void *data2)
        }
 
        if (!case_processed) {
-               log(LOG_CRIT, "qdevice_net_timer_cast_vote: Unhandled cast_vote_timer_vote %u\n",
+               log(LOG_CRIT, "qdevice_net_timer_cast_vote: Unhandled cast_vote_timer_vote %u",
                    instance->cast_vote_timer_vote);
                exit(EXIT_FAILURE);
        }
@@ -127,7 +127,7 @@ qdevice_net_cast_vote_timer_update(struct qdevice_net_instance *instance, enum t
        }
 
        if (!case_processed) {
-               log(LOG_CRIT, "qdevice_net_cast_vote_timer_update_vote: Unhandled vote parameter %u\n",
+               log(LOG_CRIT, "qdevice_net_cast_vote_timer_update_vote: Unhandled vote parameter %u",
                    vote);
                exit(EXIT_FAILURE);
        }