diff options
| author | 2008-12-07 23:02:27 -0800 | |
|---|---|---|
| committer | 2008-12-07 23:02:27 -0800 | |
| commit | 4904ff698d4187b49b960ff54bd714ee81893ba8 (patch) | |
| tree | 627500d6ddf07284ec991c8c47ac9d51fd3d9fae /src/fw-iso.c | |
| parent | [libraw1394 patch] Unify {ieee1394,fw}_bandwidth_modify() (diff) | |
Let fw_read_cycle_timer() use the local fd instead of requiring iso to be initialized
Signed-off-by: Dan Dennedy <dan@dennedy.org>
Diffstat (limited to '')
| -rw-r--r-- | src/fw-iso.c | 2 |
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; |
