summaryrefslogtreecommitdiff
path: root/lib/lldp/lldpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lldp/lldpd.c')
-rw-r--r--lib/lldp/lldpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lldp/lldpd.c b/lib/lldp/lldpd.c
index 34738535d..a024dc5e5 100644
--- a/lib/lldp/lldpd.c
+++ b/lib/lldp/lldpd.c
@@ -77,7 +77,7 @@ lldpd_get_hardware(struct lldpd *cfg, char *name, int index,
}
struct lldpd_hardware *
-lldpd_alloc_hardware(struct lldpd *cfg, char *name, int index)
+lldpd_alloc_hardware(struct lldpd *cfg, const char *name, int index)
{
struct lldpd_hardware *hw;