diff options
author | Doug Zongker <dougz@google.com> | 2014-03-17 16:51:47 -0700 |
---|---|---|
committer | Doug Zongker <dougz@google.com> | 2014-03-17 16:51:47 -0700 |
commit | a388a769760af4d8999558f38f81dafa63cc0bfb (patch) | |
tree | f598640fc79569d843981d110d88b8787315695a | |
parent | d90da13076303a5377de631623e16c34ee195830 (diff) | |
download | bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.zip bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.gz bootable_recovery-a388a769760af4d8999558f38f81dafa63cc0bfb.tar.bz2 |
fix error log statement
We were printing the address of channels instead of the value there.
Change-Id: I652340c7c1a0abaf01af555e54d2c0366d21ad78
-rw-r--r-- | minui/resources.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr, *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; } |