diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcam/camlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcam/camlib.c b/lib/libcam/camlib.c index 8986230..7aac240 100644 --- a/lib/libcam/camlib.c +++ b/lib/libcam/camlib.c @@ -619,7 +619,7 @@ cam_real_open_device(const char *path, int flags, struct cam_device *device, /* * Zero the payload, the kernel does look at the flags. */ - bzero(&(&ccb.ccb_h)[1], sizeof(struct ccb_trans_settings)); + CCB_CLEAR_ALL_EXCEPT_HDR(&ccb.cts); /* * Get transfer settings for this device. |