From owner-svn-src-all@FreeBSD.ORG Tue Jun 18 04:06:13 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0671113B; Tue, 18 Jun 2013 04:06:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id ECD0F16C2; Tue, 18 Jun 2013 04:06:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5I46CNA078026; Tue, 18 Jun 2013 04:06:12 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5I46C4w078024; Tue, 18 Jun 2013 04:06:12 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201306180406.r5I46C4w078024@svn.freebsd.org> From: Xin LI Date: Tue, 18 Jun 2013 04:06:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r251892 - stable/8/lib/libcam X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 04:06:13 -0000 Author: delphij Date: Tue Jun 18 04:06:12 2013 New Revision: 251892 URL: http://svnweb.freebsd.org/changeset/base/251892 Log: MFC r251349: Fix a typo: XPORT_SPI should be tested against transport, nor protocol. Submitted by: Sascha Wildner Reviewed by: mjacob Modified: stable/8/lib/libcam/camlib.c Directory Properties: stable/8/lib/libcam/ (props changed) Modified: stable/8/lib/libcam/camlib.c ============================================================================== --- stable/8/lib/libcam/camlib.c Tue Jun 18 04:05:37 2013 (r251891) +++ stable/8/lib/libcam/camlib.c Tue Jun 18 04:06:12 2013 (r251892) @@ -686,7 +686,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;