diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-13 04:30:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-13 04:30:18 +0000 |
commit | 699034d85536ab2090282d2fa7bd8cc4825ce693 (patch) | |
tree | e0d85a190b3d434f7270a4e900441c636e46b387 /shared/util.c | |
parent | Adding upstream version 32+20240327. (diff) | |
download | kmod-699034d85536ab2090282d2fa7bd8cc4825ce693.tar.xz kmod-699034d85536ab2090282d2fa7bd8cc4825ce693.zip |
Adding upstream version 32+20240611.upstream/32+20240611upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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') |