Fix for *BSD detectdisk.