Date: Mon, 3 Jun 2013 21:52:19 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251349 - head/lib/libcam Message-ID: <201306032152.r53LqJwW094836@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Mon Jun 3 21:52:19 2013 New Revision: 251349 URL: http://svnweb.freebsd.org/changeset/base/251349 Log: Fix a typo: XPORT_SPI should be tested against transport, nor protocol. Submitted by: Sascha Wildner <swildner dragonflybsd org> Reviewed by: mjacob MFC after: 2 weeks Modified: head/lib/libcam/camlib.c Modified: head/lib/libcam/camlib.c ============================================================================== --- head/lib/libcam/camlib.c Mon Jun 3 21:35:04 2013 (r251348) +++ head/lib/libcam/camlib.c Mon Jun 3 21:52:19 2013 (r251349) @@ -633,7 +633,7 @@ cam_real_open_device(const char *path, i "%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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306032152.r53LqJwW094836>