fix error log statement
We were printing the address of channels instead of the value there.
Change-Id: I652340c7c1a0abaf01af555e54d2c0366d21ad78
diff --git a/minui/resources.c b/minui/resources.c
index 69fd14b..a0c621b 100644
--- a/minui/resources.c
+++ b/minui/resources.c
@@ -110,7 +110,7 @@
*channels = 3;
} else {
fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n",
- bit_depth, (int) channels, color_type);
+ bit_depth, *channels, color_type);
result = -7;
goto exit;
}