Index: fb/ega.c
===================================================================
--- fb/ega.c	(revision d6cc45306126319261e570e4aeb0e313f284638f)
+++ fb/ega.c	(revision 53daee361575b2635473e4ab80984e0ae9d1a61f)
@@ -85,5 +85,5 @@
 			return; /* Exit thread */
 		case FB_GET_CSIZE:
-			ipc_answer_fast(callid, 0, scr_width, scr_height);
+			ipc_answer_fast(callid, 0, scr_height, scr_width);
 			continue;
 		case FB_CLEAR:
Index: libc/generic/string.c
===================================================================
--- libc/generic/string.c	(revision d6cc45306126319261e570e4aeb0e313f284638f)
+++ libc/generic/string.c	(revision 53daee361575b2635473e4ab80984e0ae9d1a61f)
@@ -277,5 +277,5 @@
 char *strncpy(char *dest, const char *src, size_t n)
 {
-	while (*(dest++) = *(src++) && --n)
+	while ((*(dest++) = *(src++)) && --n)
 		;
 }
