mirror of
https://github.com/bobbimanners/GNO-Extras.git
synced 2024-12-22 17:30:13 +00:00
Added missing call to writediskblock()
This commit is contained in:
parent
24bf2e8015
commit
fb03d6e95b
@ -549,6 +549,10 @@ void copyent(uint srcblk, uint srcent, uint dstblk, uint dstent, uint device) {
|
||||
}
|
||||
struct pd_dirhdr *hdr = (struct pd_dirhdr*)buf;
|
||||
hdr->parentry = dstent;
|
||||
if (writediskblock(device, block, buf) == -1) {
|
||||
perror("Can't write subdirectory");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user