diff options
Diffstat (limited to 'shared/util.c')
-rw-r--r-- | shared/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/util.c b/shared/util.c index e2bab83..437bc69 100644 --- a/shared/util.c +++ b/shared/util.c @@ -172,7 +172,7 @@ char *modname_normalize(const char *modname, char buf[static PATH_MAX], size_t * char *path_to_modname(const char *path, char buf[static PATH_MAX], size_t *len) { - char *modname; + const char *modname; modname = basename(path); if (modname == NULL || modname[0] == '\0') |