aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Dennedy <dan@dennedy.org>2008-12-07 23:02:27 -0800
committerDan Dennedy <dan@dennedy.org>2008-12-07 23:02:27 -0800
commit4904ff698d4187b49b960ff54bd714ee81893ba8 (patch)
tree627500d6ddf07284ec991c8c47ac9d51fd3d9fae
parentfbe1fa46c66d45af8fb93cf82d4d4344cc6d431b (diff)
downloadlibraw1394-4904ff698d4187b49b960ff54bd714ee81893ba8.tar.gz
Let fw_read_cycle_timer() use the local fd instead of requiring iso to be initialized
Signed-off-by: Dan Dennedy <dan@dennedy.org>
-rw-r--r--src/fw-iso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw-iso.c b/src/fw-iso.c
index 1022ebf..a696ba1 100644
--- a/src/fw-iso.c
+++ b/src/fw-iso.c
@@ -539,7 +539,7 @@ int fw_read_cycle_timer(fw_handle_t handle,
int err;
struct fw_cdev_get_cycle_timer ctr = { 0 };
- err = ioctl(handle->iso.fd, FW_CDEV_IOC_GET_CYCLE_TIMER, &ctr);
+ err = ioctl(handle->local_fd, FW_CDEV_IOC_GET_CYCLE_TIMER, &ctr);
if (!err) {
*cycle_timer = ctr.cycle_timer;
*local_time = ctr.local_time;