Index: uspace/lib/clui/nchoice.c
===================================================================
--- uspace/lib/clui/nchoice.c	(revision d5c1051faf4391647834d99babdd4a44ee5d9700)
+++ uspace/lib/clui/nchoice.c	(revision a53ed3a8097360ccf174e8d94fb407db919eb66a)
@@ -43,8 +43,8 @@
  *
  */
-int nchoice_create(nchoice_t **rchoice)
+errno_t nchoice_create(nchoice_t **rchoice)
 {
 	nchoice_t *choice = NULL;
-	int rc;
+	errno_t rc;
 
 	choice = calloc(1, sizeof(nchoice_t));
@@ -82,5 +82,5 @@
 
 /** Set numerica choice prompt text */
-int nchoice_set_prompt(nchoice_t *choice, const char *prompt)
+errno_t nchoice_set_prompt(nchoice_t *choice, const char *prompt)
 {
 	char *pstr;
@@ -96,5 +96,5 @@
 
 /** Add option to numerical choice */
-int nchoice_add(nchoice_t *choice, const char *opttext, void *arg,
+errno_t nchoice_add(nchoice_t *choice, const char *opttext, void *arg,
     nchoice_flag_t flags)
 {
@@ -127,8 +127,8 @@
 
 /** Get numerical choice from user */
-int nchoice_get(nchoice_t *choice, void **rarg)
+errno_t nchoice_get(nchoice_t *choice, void **rarg)
 {
 	int i;
-	int rc;
+	errno_t rc;
 	int ret;
 	char *str;
