diff options
author | se <se@FreeBSD.org> | 2016-02-19 16:53:21 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2016-02-19 16:53:21 +0000 |
commit | d2cd7500c8543fa0986c77570b20641fc9c8f6ae (patch) | |
tree | 6a9cb1c857f49aa2eddb0e8d4423acf7f3cbb758 | |
parent | 4008ad68fe52322348e4206fd111f52f0f358b97 (diff) | |
download | FreeBSD-src-d2cd7500c8543fa0986c77570b20641fc9c8f6ae.zip FreeBSD-src-d2cd7500c8543fa0986c77570b20641fc9c8f6ae.tar.gz |
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.
-rw-r--r-- | sys/dev/pci/pci_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_user.c b/sys/dev/pci/pci_user.c index ecfa2e2..f5a921a 100644 --- a/sys/dev/pci/pci_user.c +++ b/sys/dev/pci/pci_user.c @@ -711,7 +711,7 @@ pci_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *t 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) |