#if KERNEL_LINUX
const size_t max_procname_len = 15;
-#elif KERNEL_SOLARIS
+#elif KERNEL_SOLARIS || KERNEL_FREEBSD
const size_t max_procname_len = MAXCOMLEN -1;
#endif
c->children_num, c->values[0].value.string);
}
-#if KERNEL_LINUX || KERNEL_SOLARIS
+#if KERNEL_LINUX || KERNEL_SOLARIS || KERNEL_FREEBSD
if (strlen (c->values[0].value.string) > max_procname_len) {
WARNING ("processes plugin: this platform has a %zu character limit "
"to process names. The `Process \"%s\"' option will "