added error message/exit for failure to open device driver