svn commit: r295816 - head/sys/dev/pci

Stefan Esser se at FreeBSD.org
Fri Feb 19 16:53:23 UTC 2016


Author: se
Date: Fri Feb 19 16:53:21 2016
New Revision: 295816
URL: https://svnweb.freebsd.org/changeset/base/295816

Log:
  Fix syntax error introduced in previous commit where I removed one
  character to few. I should have waited for the kernel compile to finish,
  even though the change seemed so trivial.

Modified:
  head/sys/dev/pci/pci_user.c

Modified: head/sys/dev/pci/pci_user.c
==============================================================================
--- head/sys/dev/pci/pci_user.c	Fri Feb 19 16:43:37 2016	(r295815)
+++ head/sys/dev/pci/pci_user.c	Fri Feb 19 16:53:21 2016	(r295816)
@@ -711,7 +711,7 @@ pci_ioctl(struct cdev *dev, u_long cmd, 
 		for (cio->num_matches = 0, error = 0, i = 0,
 				 dinfo = STAILQ_FIRST(devlist_head);
 		     (dinfo != NULL) && (cio->num_matches < ionum) &&
-				 (error == 0) && (i < pci_numdevs));
+				 (error == 0) && (i < pci_numdevs);
 		     dinfo = STAILQ_NEXT(dinfo, pci_links), i++) {
 
 			if (i < cio->offset)


More information about the svn-src-all mailing list