From a6011949be081a8fe1bec0713ce60c36beb3a351 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 14 Jul 2007 10:41:18 +0000 Subject: 20070714-1142 --- appl/cmd/disk/prep/pedit.b | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'appl/cmd/disk/prep/pedit.b') diff --git a/appl/cmd/disk/prep/pedit.b b/appl/cmd/disk/prep/pedit.b index f55bcaff..d9494cae 100644 --- a/appl/cmd/disk/prep/pedit.b +++ b/appl/cmd/disk/prep/pedit.b @@ -14,7 +14,6 @@ include "bufio.m"; include "disks.m"; disks: Disks; Disk: import disks; - readn: import disks; include "draw.m"; include "calc.tab.m"; @@ -378,7 +377,7 @@ rdctlpart(edit: ref Edit) edit.ctlpart = array[0] of ref Part; sys->seek(disk.ctlfd, big 0, 0); buf := array[4096] of byte; - if(readn(disk.ctlfd, buf, len buf) <= 0) + if(sys->readn(disk.ctlfd, buf, len buf) <= 0) return; for(i := 0; i < len buf; i++) if(buf[i] == byte 0) -- cgit v1.2.3