Index: uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
===================================================================
--- uspace/app/bdsh/cmds/modules/mkdir/mkdir.c	(revision 35a3565109a7247b385218f58b83312d3c235a59)
+++ uspace/app/bdsh/cmds/modules/mkdir/mkdir.c	(revision b00255a70ff1bf87f1e8a4e2806cb362fd99721c)
@@ -83,5 +83,5 @@
 /* This is kind of clunky, but effective for now */
 static unsigned int
-create_directory(const char *path, unsigned int p)
+create_directory(const char *path, bool create_parents)
 {
 	DIR *dirp;
@@ -107,5 +107,5 @@
 
 	/* Typical use without specifying the creation of parents */
-	if (p == 0) {
+	if (!create_parents) {
 		dirp = opendir(tmp);
 		if (dirp) {
@@ -182,6 +182,6 @@
 int cmd_mkdir(char **argv)
 {
-	unsigned int argc, create_parents = 0, i, ret = 0, follow = 0;
-	unsigned int verbose = 0;
+	unsigned int argc, i, ret = 0;
+	bool create_parents = false, follow = false, verbose = false;
 	int c, opt_ind;
 	char *cwd;
@@ -193,8 +193,8 @@
 		switch (c) {
 		case 'p':
-			create_parents = 1;
+			create_parents = true;
 			break;
 		case 'v':
-			verbose = 1;
+			verbose = true;
 			break;
 		case 'h':
@@ -205,5 +205,5 @@
 			return CMD_SUCCESS;
 		case 'f':
-			follow = 1;
+			follow = true;
 			break;
 		case 'm':
@@ -230,5 +230,5 @@
 
 	for (i = optind; argv[i] != NULL; i++) {
-		if (verbose == 1)
+		if (verbose)
 			printf("%s: creating %s%s\n",
 				cmdname, argv[i],
@@ -237,5 +237,5 @@
 	}
 
-	if (follow == 0)
+	if (follow)
 		chdir(cwd);
 
