summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2016-01-09 19:13:25 +0000
committerallanjude <allanjude@FreeBSD.org>2016-01-09 19:13:25 +0000
commitf7b2f01ed012f7d71bc2a622981864be45556e68 (patch)
treeb99233d8676551c5aef28926d711d01438085a7f /contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp
parent897564533576b25591692b883bafd1f06b826bda (diff)
downloadFreeBSD-src-f7b2f01ed012f7d71bc2a622981864be45556e68.zip
FreeBSD-src-f7b2f01ed012f7d71bc2a622981864be45556e68.tar.gz
Return call to init_zfs_bootenv to its previous location
When called to early, new_currdev->d_type was not yet set zfs_fmtdev() would then return null While here, guard call to init_zfs_bootenv with if d_type == DEVT_ZFS Reported by: tsoome at me.com MFC after: 3 days Sponsored by: ScaleEngine Inc.
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/LowerSwitch.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud