aboutsummaryrefslogtreecommitdiff
path: root/cgpt/cgpt_common.c
diff options
context:
space:
mode:
authorJinguang Dong <dongjinguang@huawei.com>2017-04-10 15:56:30 +0800
committerJinguang Dong <dongjinguang@huawei.com>2017-04-10 15:56:30 +0800
commit945ebe97e8a6812c78398723e46dd52639eccaa5 (patch)
tree587c64ca38edeb098cf72048b77b843252e4f0c7 /cgpt/cgpt_common.c
parent62ffad49bd118bf41a97db439ce7ae1ce93f6904 (diff)
downloadvboot_reference-945ebe97e8a6812c78398723e46dd52639eccaa5.tar.gz
Fix debug info data type mismatch error
Test: mm -j8 Change-Id: I1c524a4d120a658b7a95c4ca4b47ccf1e89739d3
Diffstat (limited to 'cgpt/cgpt_common.c')
-rw-r--r--cgpt/cgpt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgpt/cgpt_common.c b/cgpt/cgpt_common.c
index 5bb44f7a..ea57223b 100644
--- a/cgpt/cgpt_common.c
+++ b/cgpt/cgpt_common.c
@@ -69,7 +69,7 @@ int Load(struct drive *drive, uint8_t **buf,
require(buf);
if (!sector_count || !sector_bytes) {
- Error("%s() failed at line %d: sector_count=%d, sector_bytes=%d\n",
+ Error("%s() failed at line %d: sector_count=%ld, sector_bytes=%ld\n",
__FUNCTION__, __LINE__, sector_count, sector_bytes);
return CGPT_FAILED;
}