From 8ac5227a3626dd70a51d2c091b8730ce0f2d8403 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 7 Feb 2015 03:24:07 +0100 Subject: [PATCH] zynq: fix print format warning in screeninit() --- sys/src/9/zynq/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/zynq/screen.c b/sys/src/9/zynq/screen.c index a3211ffa9..872ab88f8 100644 --- a/sys/src/9/zynq/screen.c +++ b/sys/src/9/zynq/screen.c @@ -81,7 +81,7 @@ screeninit(void) uchar *fb; fb = xspanalloc(Dx(xgscreen.r) * Dy(xgscreen.r) * 3, 64, 0); - print("%x\n", PADDR(fb)); + print("%p\n", PADDR(fb)); memsetchan(&xgscreen, BGR24); conf.monitor = 1; xgdata.bdata = fb;