diff options
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; |