Compare the *number* of patterns to zero, not the pointer to the patterns.
authorPeter Avalos <pavalos@dragonflybsd.org>
Wed, 28 Nov 2007 21:05:00 +0000 (21:05 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Wed, 28 Nov 2007 21:05:00 +0000 (21:05 +0000)
commitd910b20ea9c1616ebdbaa0b79a30078274b5b811
treea86c708f3ae12ed77c09fa40016794e485513e38
parentd53a848057adc4a250e511ccabbb3762660c2428
Compare the *number* of patterns to zero, not the pointer to the patterns.

Obtained-from: FreeBSD
sys/bus/cam/cam_xpt.c