mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-01 22:26:50 +00:00
Replaces magic number with value calculated from appropriate constant
This commit is contained in:
@@ -216,8 +216,8 @@ unsigned sysout_loader(const char *sysout_file_name, unsigned sys_size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((stat_buf.st_size & (BYTESPER_PAGE - 1)) != 0)
|
if ((stat_buf.st_size & (BYTESPER_PAGE - 1)) != 0)
|
||||||
printf("CAUTION::not an integral number of pages. sysout & 0x1ff = 0x%x\n",
|
printf("CAUTION::not an integral number of pages. sysout & 0x%x = 0x%x\n",
|
||||||
(int)(stat_buf.st_size & (BYTESPER_PAGE - 1)));
|
BYTESPER_PAGE - 1, (int)(stat_buf.st_size & (BYTESPER_PAGE - 1)));
|
||||||
|
|
||||||
if (ifpage.nactivepages != (sysout_size / 2)) {
|
if (ifpage.nactivepages != (sysout_size / 2)) {
|
||||||
printf("sysout_loader:IFPAGE says sysout size is %d\n", ifpage.nactivepages);
|
printf("sysout_loader:IFPAGE says sysout size is %d\n", ifpage.nactivepages);
|
||||||
|
|||||||
Reference in New Issue
Block a user