summaryrefslogtreecommitdiff
path: root/usr.sbin/netgroup_mkdb
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-11-10 10:34:08 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-11-10 10:34:08 +0000
commit5c53e3c2129296ab7dede4b6e2b699b1b795fe42 (patch)
treee9c5917caf856426b017a2dbb6e34863007e1ee8 /usr.sbin/netgroup_mkdb
parent83ad88e29d246c92b9cd98f8938cf987775f1fc6 (diff)
dont compare devids when we dont have a devid to compare with.
DEVID_CMP now evaluates to false if the devids are NULL. some stupid devices dont understand luns, so we have code that detects when the device at lun 0 also appears at luns 1, 2, 3, and so on. this check is short circuited if the devices report different devids. no devids isnt the same as different devids though. found by okan@ on ciss (which currently ignores luns). tested by krw@ marco@ johan@ okan@ ok krw@ marco@
Diffstat (limited to 'usr.sbin/netgroup_mkdb')
0 files changed, 0 insertions, 0 deletions