summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--namedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index 98529cb840..b9d8a3db2c 100644
--- a/namedev.c
+++ b/namedev.c
@@ -816,7 +816,7 @@ int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *ud
}
if (dev->symlink[0] != '\0') {
- char temp[NAMESIZE];
+ char temp[NAME_SIZE];
info("configured rule in '%s' at line %i applied, added symlink '%s'",
dev->config_file, dev->config_line, dev->symlink);