diff --git a/u9fs.c b/u9fs.c index 60e41ce..fcf7e86 100644 --- a/u9fs.c +++ b/u9fs.c @@ -190,7 +190,7 @@ rootpath(char *path) if(root == nil) return path; - snprintf(buf, sizeof buf, "%s%s", root, path); + snprint(buf, sizeof buf, "%s%s", root, path); return buf; }