use snprint, not snprintf

This commit is contained in:
Charles Forsyth 2015-10-04 21:25:11 +01:00
parent 05a770405d
commit e14502a03f
1 changed files with 1 additions and 1 deletions

2
u9fs.c
View File

@ -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;
}