libk  Diff

Differences From Artifact [aec04b5f97]:

To Artifact [b799b010e3]:


     5      5   
     6      6   struct object {
     7      7   	u8 a;
     8      8   	s16 b;
     9      9   	bool c;
    10     10   };
    11     11   
    12         -#define _slit(s) ((ksraw){Kmsz(s),s})
           12  +#define _slit(s) ((ksraw){Kmsz(s) - 1,s})
    13     13   
    14     14   kbad entry(kenv e) {
    15     15   	const char msg[] = "hello from libk\n";
    16         -	ksraw ptr = { Kmsz(msg), msg };
           16  +	ksraw ptr = { Kmsz(msg) - 1, msg };
    17     17   
    18     18   	bool maybe = true;
    19     19   	maybe = no;
    20     20   
    21     21   	if (kiosend(e.std, ptr, null) == kiocond_ok) {
    22     22   		/* great, continue */
    23     23   	} else {