forked from Bananymous/banan-os
Kernel: Remove accidentally left debug prints
This commit is contained in:
parent
aaff5a65e1
commit
71563034a7
|
@ -149,13 +149,9 @@ namespace Kernel
|
|||
const uintptr_t addr = argv_region->vaddr() + offset;
|
||||
TRY(argv_region->copy_data_to_region(i * sizeof(char*), reinterpret_cast<const uint8_t*>(&addr), sizeof(char*)));
|
||||
|
||||
dprintln("argv[{}] = {H}", i * sizeof(char*), addr);
|
||||
|
||||
const auto current = (i == 0) ? path : arguments[i - 1];
|
||||
TRY(argv_region->copy_data_to_region(offset, reinterpret_cast<const uint8_t*>(current.data()), current.size()));
|
||||
|
||||
dprintln(" argv[{}] = '{}'", offset, current);
|
||||
|
||||
const uint8_t zero = 0;
|
||||
TRY(argv_region->copy_data_to_region(offset + current.size(), &zero, 1));
|
||||
|
||||
|
|
Loading…
Reference in New Issue