chiark / gitweb /
[PATCH] fix build error in namedev.c caused by previous patch.
authorgreg@kroah.com <greg@kroah.com>
Thu, 25 Mar 2004 01:50:40 +0000 (17:50 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:11 +0000 (21:35 -0700)
namedev.c

index 98529cb..b9d8a3d 100644 (file)
--- 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') {
                        }
 
                        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);
 
                                info("configured rule in '%s' at line %i applied, added symlink '%s'",
                                     dev->config_file, dev->config_line, dev->symlink);