Index: uspace/app/bdsh/exec.c
===================================================================
--- uspace/app/bdsh/exec.c	(revision d5c1051faf4391647834d99babdd4a44ee5d9700)
+++ uspace/app/bdsh/exec.c	(revision da9d6cae9d1c35542e015f3d2826946a83fef587)
@@ -58,5 +58,5 @@
 	int fd;
 
-	int rc = vfs_lookup_open(f, WALK_REGULAR, MODE_READ, &fd);
+	errno_t rc = vfs_lookup_open(f, WALK_REGULAR, MODE_READ, &fd);
 	if (rc == EOK) {
 		vfs_put(fd);
@@ -98,5 +98,5 @@
 	task_exit_t texit;
 	char *tmp;
-	int rc;
+	errno_t rc;
 	int retval, i;
 	int file_handles[3] = { -1, -1, -1 };
@@ -118,5 +118,5 @@
 	free(tmp);
 
-	if (rc != 0) {
+	if (rc != EOK) {
 		cli_error(CL_EEXEC, "%s: Cannot spawn `%s' (%s)", progname, cmd,
 		    str_error(rc));
