diff options
Diffstat (limited to 'framebuffer/misc.c')
-rw-r--r-- | framebuffer/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/misc.c b/framebuffer/misc.c index 6f9f3878d..889e3ec3f 100644 --- a/framebuffer/misc.c +++ b/framebuffer/misc.c @@ -69,7 +69,7 @@ char *filename_from_path(char *path) * \return true on success */ -bool path_add_part(char *path, int length, char *newpart) +bool path_add_part(char *path, int length, const char *newpart) { if(path[strlen(path) - 1] != '/') strncat(path, "/", length); |