From 0a22d6bbee358ca3c01ff597de0f0ad3cd2bcc11 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Mon, 15 Jun 2009 15:51:54 -0400 Subject: [PATCH] Fix bug when retrieving historical ATA SMART data --- src/devkit-disks-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devkit-disks-device.c b/src/devkit-disks-device.c index 81280f8..dcff9fd 100644 --- a/src/devkit-disks-device.c +++ b/src/devkit-disks-device.c @@ -7919,7 +7919,7 @@ devkit_disks_device_drive_ata_smart_get_historical_data_authorized_cb (DevkitDis { guint64 since = *((guint64*) user_data_elements[0]); guint64 until = *((guint64*) user_data_elements[1]); - guint64 spacing = *((guint64*) user_data_elements[1]); + guint64 spacing = *((guint64*) user_data_elements[2]); GPtrArray *array; DevkitDisksAtaSmartDb *db; -- 2.7.4