You don't need the +1 after KSTAT+STRLEN this is guaranteed to be NULL terminated because you used strlcpy().