summaryrefslogtreecommitdiff
path: root/appl/cmd/disk/prep/pedit.b
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-07-14 10:41:18 +0000
committerCharles.Forsyth <devnull@localhost>2007-07-14 10:41:18 +0000
commita6011949be081a8fe1bec0713ce60c36beb3a351 (patch)
tree0855fa75f38a7361a9b7a9fe12608bd99761add0 /appl/cmd/disk/prep/pedit.b
parentd42218ac2785e9e4bea53ec499f563cab5747959 (diff)
20070714-1142
Diffstat (limited to 'appl/cmd/disk/prep/pedit.b')
-rw-r--r--appl/cmd/disk/prep/pedit.b3
1 files changed, 1 insertions, 2 deletions
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)