diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-24 07:28:08 -0700 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2003-05-24 07:28:08 -0700 |
| commit | b9fdbdca514c68074647a47222e144d66783bb7e (patch) | |
| tree | fceb7687683f5ce62b90710573c065f895d57241 /include/linux/kobject.h | |
| parent | 88da51bbb31fc17814ca274fc0bfa6b1bf52fbd1 (diff) | |
Make KOBJ_NAME_LEN bigger, since at least the ieee1394 code
has bus ID's that are longer than 16 bytes.
Noted by Ben Collins, who also signed up to fix up some broken
strncpy() users. Sucker!
Diffstat (limited to 'include/linux/kobject.h')
| -rw-r--r-- | include/linux/kobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 8c84e7bce42e..12d7e97d3ce7 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h @@ -12,7 +12,7 @@ #include <linux/rwsem.h> #include <asm/atomic.h> -#define KOBJ_NAME_LEN 16 +#define KOBJ_NAME_LEN 20 struct kobject { char name[KOBJ_NAME_LEN]; |
