tests: Fixed typos

Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
2026-01-02 22:06:38 +03:00
parent 167b12255f
commit e1e0087a69
2 changed files with 3 additions and 5 deletions

View File

@@ -1,10 +1,8 @@
#include <stdio.h>
#include <errno.h>
int
main ()
{
errno = ENOSYS;
puts ("I: Hello KolibriOS from GCC!");
return 0;
}

View File

@@ -21,8 +21,8 @@ main ()
for (size_t i = 0; i < 1000; i++)
{
void *ptr = malloc (9999);
memset (ptr, 0xFF, 9999);
assert (ptr != NULL);
memset (ptr, 0xFF, 9999);
free (ptr);
}
@@ -37,9 +37,9 @@ main ()
// free()
for (size_t i = 0; i < MAX_ALLOCS; i++)
{
free(allocs[i]);
free (allocs[i]);
}
_ksys_dbg_print("I: Malloc test: OK");
_ksys_dbg_print ("I: Malloc test: OK");
return 0;
}