fix: Use new error names in MTIO stubs

This commit is contained in:
Felicitas Pojtinger
2021-12-20 01:58:34 +01:00
parent aa89e55249
commit 7884d34ba2
2 changed files with 5 additions and 5 deletions

View File

@@ -9,21 +9,21 @@ import (
)
func GetCurrentRecordFromTape(f *os.File) (int64, error) {
return -1, config.ErrDrivesUnsupported
return -1, config.ErrTapeDrivesUnsupported
}
func GoToEndOfTape(f *os.File) error {
return config.ErrDrivesUnsupported
return config.ErrTapeDrivesUnsupported
}
func GoToNextFileOnTape(f *os.File) error {
return config.ErrDrivesUnsupported
return config.ErrTapeDrivesUnsupported
}
func EjectTape(f *os.File) error {
return config.ErrDrivesUnsupported
return config.ErrTapeDrivesUnsupported
}
func SeekToRecordOnTape(f *os.File, record int32) error {
return config.ErrDrivesUnsupported
return config.ErrTapeDrivesUnsupported
}