Improve example

This commit is contained in:
Alex Kotov 2020-12-07 05:22:52 +05:00
parent 66d00d5778
commit a5654e98cb
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ int main()
{
memset(buffer, '\0', sizeof(buffer));
buffer_index = 0;
kernaux_printf(my_putchar, "Hello, %s! Session id: %u.", "Alex", 123);
assert(strcmp(buffer, "Hello, Alex! Session id: 123.") == 0);
kernaux_printf(my_putchar, "Hello, %s! Session ID: %u.", "Alex", 123);
assert(strcmp(buffer, "Hello, Alex! Session ID: 123.") == 0);
printf("OK!\n");