Fixed return type for osd_open_failed()