aboutsummaryrefslogtreecommitdiffstats
path: root/src/filepath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filepath.c')
-rw-r--r--src/filepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filepath.c b/src/filepath.c
index b752e08..2f175ef 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -129,7 +129,7 @@ void mkpath(char *path, mode_t mode) {
/* Make path absolute by prepending root, if path isn't already absolute. */
char *make_abs(char *root, char *path) {
if (!is_absolute(path))
- return concat(3, root, "/", path);
+ return concat(root, "/", path);
else
return xstrdup(path);
}