diff --git a/mx29f002.c b/mx29f002.c
index 2e6917358648ae104c110b9ea6a52322724bbc41..b281528935a286069c66f49b81add0dfd53eb4b9 100644
--- a/mx29f002.c
+++ b/mx29f002.c
@@ -46,7 +46,7 @@ int probe_29f002(struct flashchip *flash)
 
 	myusec_delay(10);
 
-	printf("%s: id1 %d, id2 %d\n", __FUNCTION__, id1, id2);
+	printf("%s: id1 0x%x, id2 0x%x\n", __FUNCTION__, id1, id2);
 	if (id1 == flash->manufacture_id && id2 == flash->model_id)
 		return 1;