commit 2058e68928778d3bd79d34ee30286fe23a431e7d
parent 50d84c943c3db176796d42c468735d2d6bb87c55
Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
Date: Mon, 21 Jun 2010 22:41:27 +0200
s/%i/%d /
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/9vx/main.c b/src/9vx/main.c
@@ -252,7 +252,7 @@ main(int argc, char **argv)
print("-%s%s%s%s%s ", bootboot ? "b" : "", nofork ? "f " : "",
nogui ? "g" : "", initrc ? "i " : "", usetty ? "t " : "");
if(memsize != 0)
- print("-m %i", memsize);
+ print("-m %d ", memsize);
for(int i=0; i<nve; i++){
print("-n %s", ve[i].tap ? "tap ": "");
if(ve[i].dev != nil)