X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fovs_events.c;h=ae8ac3dbc3cdcee4cbca6b1f5394831df04ce5a0;hp=49e08f5830ae56654590e2908aea691fbe86eeb3;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=43d22c19485997e82d28a9ed7ba17965882dc27f diff --git a/src/ovs_events.c b/src/ovs_events.c index 49e08f58..ae8ac3db 100644 --- a/src/ovs_events.c +++ b/src/ovs_events.c @@ -159,7 +159,7 @@ static char *ovs_events_get_select_params() { } opt_buff = new_buff; int ret = ssnprintf(opt_buff + buff_off, buff_size - buff_off, option_fmt, - iface->name); + iface->name); if (ret < 0) { sfree(opt_buff); return NULL; @@ -340,8 +340,8 @@ ovs_events_dispatch_notification(const ovs_events_iface_info_t *ifinfo) { /* fill the notification data */ ssnprintf(n.message, sizeof(n.message), - "link state of \"%s\" interface has been changed to \"%s\"", - ifinfo->name, msg_link_status); + "link state of \"%s\" interface has been changed to \"%s\"", + ifinfo->name, msg_link_status); sstrncpy(n.host, hostname_g, sizeof(n.host)); sstrncpy(n.plugin_instance, ifinfo->name, sizeof(n.plugin_instance)); sstrncpy(n.type, "gauge", sizeof(n.type));