summaryrefslogtreecommitdiffstats
path: root/tools/irecovery.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-26 23:54:06 +0200
committerGravatar Martin Szulecki2013-09-26 23:54:06 +0200
commit9a28cfe084b9cf04c0170dce8821356638d50b38 (patch)
tree1b581021f494f654f2faff423248d0144c7e3e0c /tools/irecovery.c
parent4afbb1aec79b3f80c55b3156475bdf546461464d (diff)
downloadlibirecovery-9a28cfe084b9cf04c0170dce8821356638d50b38.tar.gz
libirecovery-9a28cfe084b9cf04c0170dce8821356638d50b38.tar.bz2
Rename device struct fields and provide device database getters for them
Diffstat (limited to 'tools/irecovery.c')
-rw-r--r--tools/irecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index 32e9f9f..c4d6dce 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -347,7 +347,7 @@ int main(int argc, char* argv[]) {
irecv_device_t device = NULL;
irecv_devices_get_device_by_client(client, &device);
if (device)
- debug("Connected to %s, model %s, cpid 0x%04x, bdid 0x%02x\n", device->product, device->model, device->chip_id, device->board_id);
+ debug("Connected to %s, model %s, cpid 0x%04x, bdid 0x%02x\n", device->product_type, device->hardware_model, device->chip_id, device->board_id);
switch (action) {
case kResetDevice: