Skip to content
Snippets Groups Projects
Commit bd6addeb authored by Byron Lathi's avatar Byron Lathi
Browse files

fix string lengths

parent 426416ea
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,6 @@
int main()
{
sys_exec((uint8_t*)"/Programs/bin/hello");
sys_write(1, "Done executing!\n", sizeof("Done executin!\n"));
sys_write(1, "Done executing!\n", 16);
return 0;
}
\ No newline at end of file
......@@ -3,6 +3,6 @@
int main()
{
sys_write(1, "Hello, World!\n", sizeof("Hello, World!\n"));
sys_write(1, "Hello, World!\n", 14);
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment