mirror of
https://github.com/moshix/mvs.git
synced 2026-01-11 23:43:00 +00:00
Update blocksize.go
This commit is contained in:
parent
abd1c102a0
commit
dabf7b7383
@ -7,8 +7,8 @@ package main
|
||||
blocksize DASD LRECL parameters
|
||||
|
||||
|
||||
(c) 2017 by moshix
|
||||
Program source is under Apache license */
|
||||
(c) 2017-2024 by moshix
|
||||
*/
|
||||
|
||||
import (
|
||||
"flag"
|
||||
@ -86,7 +86,7 @@ func getBlockSize(dasd string, lrecl int) (int, error) {
|
||||
|
||||
tracks, ok := table[dasd]
|
||||
if !ok {
|
||||
return 0, fmt.Errorf("unknown dasd model: %s", dasd)
|
||||
return 0, fmt.Errorf("unknown DASD model: %s", dasd)
|
||||
}
|
||||
|
||||
halfTracks := tracks / 2 // half track size
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user