summaryrefslogtreecommitdiff
path: root/utils/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/file.c')
-rw-r--r--utils/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/file.c b/utils/file.c
index 7b0a4677a..2ae198840 100644
--- a/utils/file.c
+++ b/utils/file.c
@@ -43,7 +43,7 @@
* @return NSERROR_OK and the complete path is written to str
* or error code on faliure.
*/
-static nserror posix_mkpath(char **str, size_t *size, size_t nelm, va_list ap)
+static nserror posix_vmkpath(char **str, size_t *size, size_t nelm, va_list ap)
{
return vsnstrjoin(str, size, '/', nelm, ap);
}
@@ -110,7 +110,7 @@ nserror netsurf_mkpath(char **str, size_t *size, size_t nelm, ...)
/* default to using the posix file handling */
static struct gui_file_table file_table = {
- .mkpath = posix_mkpath,
+ .mkpath = posix_vmkpath,
.basename = posix_basename,
};