- /* We don't retry if it fails; that is left to the vtape driver. */
- if ((errstr = tape_rewind(pDev[DeviceFD].dev)) == NULL) {
- DebugPrint(DEBUG_INFO, SECTION_TAPE,_("Rewind OK,\n"), cnt);
- } else {
- DebugPrint(DEBUG_ERROR, SECTION_TAPE,_("Rewind failed %s\n"),errstr);
- DebugPrint(DEBUG_INFO, SECTION_TAPE,_("##### STOP GenericRewind (-1)\n"));
- return(-1);
- /*NOTREACHED*/
- }