diff --git a/src/interface.c b/src/interface.c
index 6edecc4d62991d8c02a984c74cc40dd4e14ad6cc..ef758bc8b374bf507e60c630dc72702a1e26858f 100644 (file)
--- a/src/interface.c
+++ b/src/interface.c
vl.time = time (NULL);
strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "interface");
- strncpy (vl.type, type, sizeof (vl.type));
- strncpy (vl.type_instance, dev, sizeof (vl.type_instance));
+ sstrncpy (vl.type, type, sizeof (vl.type));
+ sstrncpy (vl.type_instance, dev, sizeof (vl.type_instance));
plugin_dispatch_values (&vl);
} /* void if_submit */