summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 7d5a853..2be0f19 100644
--- a/util.c
+++ b/util.c
@@ -451,7 +451,7 @@ void path_full(const char *dir, const char *relpath, char *abspath, size_t abspa
}
} else {
if (len == 0 || abspath[len - 1] != PATH_SEPARATOR)
- str_cat(abspath, abspath_size, PATH_SEPARATOR_STR);
+ str_catf(abspath, abspath_size, "%c", PATH_SEPARATOR);
strn_cat(abspath, abspath_size, relpath, component_len);
}
if (*component_end == 0)