diff options
| author | Don Lewis <truckman@FreeBSD.org> | 2016-05-24 00:57:11 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 2016-05-24 00:57:11 +0000 |
| commit | 95320acebcdbd8ba6faba99bb31ba8a0c405c60c (patch) | |
| tree | 46aa22f07e1f507182e38a44b6dd148c8cda0479 /lib | |
| parent | 24d17f1e24b769e4473fc00c44562e33eb9ed4db (diff) | |
Notes
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 8986230ac68af..7aac2409f7196 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. |
