Index: uspace/drv/char/sun4v-con/sun4v-con.c
===================================================================
--- uspace/drv/char/sun4v-con/sun4v-con.c	(revision 39026d7c7b8398cf28a13ecd9f768d4f5d82e2b9)
+++ uspace/drv/char/sun4v-con/sun4v-con.c	(revision b2a1fd92811bab5d05b74e0c829a43f348315cbc)
@@ -36,4 +36,5 @@
 #include <ddi.h>
 #include <errno.h>
+#include <str_error.h>
 #include <io/chardev_srv.h>
 #include <stdbool.h>
@@ -92,5 +93,5 @@
 	    (void *) &con->input_buffer);
 	if (rc != EOK) {
-		ddf_msg(LVL_ERROR, "Error mapping memory: %d", rc);
+		ddf_msg(LVL_ERROR, "Error mapping memory: %s", str_error_name(rc));
 		goto error;
 	}
@@ -101,5 +102,5 @@
 	    (void *) &con->output_buffer);
 	if (rc != EOK) {
-		ddf_msg(LVL_ERROR, "Error mapping memory: %d", rc);
+		ddf_msg(LVL_ERROR, "Error mapping memory: %s", str_error_name(rc));
 		return rc;
 	}
