diff options
author | Denis Vlasenko | 2009-02-26 12:00:52 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-02-26 12:00:52 +0000 |
commit | 48637e0924dcd13629ebf3aeffa80cdda1beb5af (patch) | |
tree | 5a3eaec93fc5c5f1b29598c50e6f70851eff06db /modutils/modutils.h | |
parent | 9aa5c652e9335650428fddc0b84037853a06256c (diff) | |
download | busybox-48637e0924dcd13629ebf3aeffa80cdda1beb5af.zip busybox-48637e0924dcd13629ebf3aeffa80cdda1beb5af.tar.gz |
modutils: oveflow fix
Diffstat (limited to 'modutils/modutils.h')
-rw-r--r-- | modutils/modutils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modutils/modutils.h b/modutils/modutils.h index 6aaf79d..cc7c653 100644 --- a/modutils/modutils.h +++ b/modutils/modutils.h @@ -15,8 +15,9 @@ # pragma GCC visibility push(hidden) #endif -/* As defined in linux/include/linux/module.h */ -#define MODULE_NAME_LEN 64 +/* linux/include/linux/module.h has 64, but this is also used + * internally for the maximum alias name length, which can be quite long */ +#define MODULE_NAME_LEN 256 const char *moderror(int err) FAST_FUNC; llist_t *llist_find(llist_t *first, const char *str) FAST_FUNC; |