mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(userspace/libc): fix puts() in interpreter
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
1ff62e22bf
commit
45d34c688f
@ -76,7 +76,7 @@ int puts(const char *s)
|
||||
int len = strlen(s);
|
||||
memcpy(print_buffer + print_buffer_offset, s, len);
|
||||
print_buffer_offset += len;
|
||||
print_buffer[print_buffer_offset++] = '\0';
|
||||
print_buffer[print_buffer_offset++] = '\n';
|
||||
flush_buffer();
|
||||
return len + 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user