partition.library: Short-circuit attempting to open a NULL device
commit9aa9051e666d58b41bffa7f524ad2a973dfc555b
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 3 Oct 2011 20:25:12 +0000 (3 20:25 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 3 Oct 2011 20:25:12 +0000 (3 20:25 +0000)
tree6a1f12acac3c66ee391d5793888f70bac20c7831
parentabad998e8892642bddcb42a1fb19ae03a0d6c221
partition.library: Short-circuit attempting to open a NULL device

Prevents a later crash via an ASSERT() in dos.library.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@41740 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/partition/openrootpartition.c