diff options
| author | Xin LI <delphij@FreeBSD.org> | 2013-06-03 21:52:19 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2013-06-03 21:52:19 +0000 |
| commit | 21d1182ecf8599c8791ddeb96ba98751907c2a3b (patch) | |
| tree | 1aefe84d15bfda7c8461edf02ffcd88c8bc888c3 /lib/libcam | |
| parent | 6e8727211d191a2fc8d87bb9947b38bd8128b144 (diff) | |
Notes
Diffstat (limited to 'lib/libcam')
| -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 ae35fb969c17..cd5992286054 100644 --- a/lib/libcam/camlib.c +++ b/lib/libcam/camlib.c @@ -633,7 +633,7 @@ cam_real_open_device(const char *path, int flags, struct cam_device *device, "%s: %s", func_name, func_name, strerror(errno)); goto crod_bailout; } - if (ccb.cts.protocol == XPORT_SPI) { + if (ccb.cts.transport == XPORT_SPI) { struct ccb_trans_settings_spi *spi = &ccb.cts.xport_specific.spi; device->sync_period = spi->sync_period; |
