summaryrefslogtreecommitdiff
path: root/include/trace/events/fib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/fib.h')
-rw-r--r--include/trace/events/fib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/fib.h b/include/trace/events/fib.h
index 76297ecd4935..20b914250ce9 100644
--- a/include/trace/events/fib.h
+++ b/include/trace/events/fib.h
@@ -65,7 +65,7 @@ TRACE_EVENT(fib_table_lookup,
}
dev = nhc ? nhc->nhc_dev : NULL;
- strlcpy(__entry->name, dev ? dev->name : "-", IFNAMSIZ);
+ strscpy(__entry->name, dev ? dev->name : "-", IFNAMSIZ);
if (nhc) {
if (nhc->nhc_gw_family == AF_INET) {