- if ((err=Device_open(&drive.dev,image,O_RDONLY,devopts)))
+ if ((err=Device_open(&super.dev,image,O_RDONLY,devopts)))
+ {
+ fprintf(stderr,"%s: cannot open %s (%s)\n",cmd,image,err);
+ exit(1);
+ }
+ if (cpmReadSuper(&super,&root,format,uppercase)==-1)