summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-03-17 23:52:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-17 23:52:35 +0000
commit130a7985386f7f7741179fc38b1a15da7ec9f358 (patch)
treef598640fc79569d843981d110d88b8787315695a
parentd90da13076303a5377de631623e16c34ee195830 (diff)
parenta388a769760af4d8999558f38f81dafa63cc0bfb (diff)
downloadbootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.zip
bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.gz
bootable_recovery-130a7985386f7f7741179fc38b1a15da7ec9f358.tar.bz2
Merge "fix error log statement"
-rw-r--r--minui/resources.c2
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;
}