Index: uspace/app/taskdump/taskdump.c
===================================================================
--- uspace/app/taskdump/taskdump.c	(revision d5c1051faf4391647834d99babdd4a44ee5d9700)
+++ uspace/app/taskdump/taskdump.c	(revision e211ea04fccf33d4cb2092f630a29e893e096a02)
@@ -63,11 +63,11 @@
 static symtab_t *app_symtab;
 
-static int connect_task(task_id_t task_id);
+static errno_t connect_task(task_id_t task_id);
 static int parse_args(int argc, char *argv[]);
 static void print_syntax(void);
-static int threads_dump(void);
-static int thread_dump(uintptr_t thash);
-static int areas_dump(void);
-static int td_read_uintptr(void *arg, uintptr_t addr, uintptr_t *value);
+static errno_t threads_dump(void);
+static errno_t thread_dump(uintptr_t thash);
+static errno_t areas_dump(void);
+static errno_t td_read_uintptr(void *arg, uintptr_t addr, uintptr_t *value);
 
 static void autoload_syms(void);
@@ -83,5 +83,5 @@
 int main(int argc, char *argv[])
 {
-	int rc;
+	errno_t rc;
 
 	printf("Task Dump Utility\n");
@@ -122,5 +122,5 @@
 }
 
-static int connect_task(task_id_t task_id)
+static errno_t connect_task(task_id_t task_id)
 {
 	async_sess_t *ksess = async_connect_kbox(task_id);
@@ -140,5 +140,5 @@
 	}
 	
-	int rc = udebug_begin(ksess);
+	errno_t rc = udebug_begin(ksess);
 	if (rc != EOK) {
 		printf("udebug_begin() -> %s\n", str_error_name(rc));
@@ -210,5 +210,5 @@
 }
 
-static int threads_dump(void)
+static errno_t threads_dump(void)
 {
 	uintptr_t *thash_buf;
@@ -219,5 +219,5 @@
 	size_t needed;
 	size_t i;
-	int rc;
+	errno_t rc;
 
 	/* TODO: See why NULL does not work. */
@@ -260,5 +260,5 @@
 }
 
-static int areas_dump(void)
+static errno_t areas_dump(void)
 {
 	as_area_info_t *ainfo_buf;
@@ -269,5 +269,5 @@
 	size_t needed;
 	size_t i;
-	int rc;
+	errno_t rc;
 
 	rc = udebug_areas_read(sess, &dummy_buf, 0, &copied, &needed);
@@ -320,10 +320,10 @@
 }
 
-int td_stacktrace(uintptr_t fp, uintptr_t pc)
+errno_t td_stacktrace(uintptr_t fp, uintptr_t pc)
 {
 	uintptr_t nfp;
 	stacktrace_t st;
 	char *sym_pc;
-	int rc;
+	errno_t rc;
 
 	st.op_arg = NULL;
@@ -349,10 +349,10 @@
 }
 
-static int thread_dump(uintptr_t thash)
+static errno_t thread_dump(uintptr_t thash)
 {
 	istate_t istate;
 	uintptr_t pc, fp;
 	char *sym_pc;
-	int rc;
+	errno_t rc;
 
 	rc = udebug_regs_read(sess, thash, &istate);
@@ -378,8 +378,8 @@
 }
 
-static int td_read_uintptr(void *arg, uintptr_t addr, uintptr_t *value)
+static errno_t td_read_uintptr(void *arg, uintptr_t addr, uintptr_t *value)
 {
 	uintptr_t data;
-	int rc;
+	errno_t rc;
 
 	(void) arg;
@@ -399,5 +399,5 @@
 {
 	char *file_name;
-	int rc;
+	errno_t rc;
 	int ret;
 
@@ -455,5 +455,5 @@
 	size_t copied, needed, name_size;
 	char *name;
-	int rc;
+	errno_t rc;
 
 	rc = udebug_name_read(sess, &dummy_buf, 0, &copied, &needed);
@@ -488,5 +488,5 @@
 	char *name;
 	size_t offs;
-	int rc;
+	errno_t rc;
 	int ret;
 	char *str;
