Skip to content

Commit ace42f5

Browse files
committed
Fix debug_write call
1 parent c897f18 commit ace42f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

loader/secondary.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ void try_boot_cd() {
306306

307307
read = FileRead(exe_fd, data_buffer, 2048);
308308
if (read < 0) {
309-
debug_write("Failed to read. Error %d.", read, exe_fcb->last_error);
309+
debug_write("Failed to read. Error %d.", exe_fcb->last_error);
310310
FileClose(exe_fd);
311311
return;
312312
}
@@ -368,7 +368,7 @@ void try_boot_cd() {
368368

369369
read = FileRead(exe_fd, exe_header->offsets.load_addr, exe_header->offsets.load_size);
370370
if (read < 0) {
371-
debug_write("Failed to read. Error %d.", read, exe_fcb->last_error);
371+
debug_write("Failed to read. Error %d.", exe_fcb->last_error);
372372
return;
373373
}
374374

0 commit comments

Comments
 (0)