From e14502a03f602c31b3d1c89657acd185223627f3 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sun, 4 Oct 2015 21:25:11 +0100 Subject: [PATCH] use snprint, not snprintf --- u9fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }