Index: uspace/app/bdsh/cmds/modules/mkfile/mkfile.c
===================================================================
--- uspace/app/bdsh/cmds/modules/mkfile/mkfile.c	(revision 948222e45b757067cc0c8605fb69b04c5ba6f5a8)
+++ uspace/app/bdsh/cmds/modules/mkfile/mkfile.c	(revision f62c901cedddc0f126df491f8b76d51aa9377ed9)
@@ -53,8 +53,8 @@
 
 static struct option const long_options[] = {
-	{"size", required_argument, 0, 's'},
-	{"sparse", no_argument, 0, 'p'},
-	{"help", no_argument, 0, 'h'},
-	{0, 0, 0, 0}
+	{ "size", required_argument, 0, 's' },
+	{ "sparse", no_argument, 0, 'p' },
+	{ "help", no_argument, 0, 'h' },
+	{ 0, 0, 0, 0 }
 };
 
@@ -66,13 +66,13 @@
 		help_cmd_mkfile(HELP_SHORT);
 		printf(
-		"Usage:  %s [options] <path>\n"
-		"Options:\n"
-		"  -h, --help       A short option summary\n"
-		"  -s, --size sz    Size of the file\n"
-		"  -p, --sparse     Create a sparse file\n"
-		"\n"
-		"Size is a number followed by 'k', 'm' or 'g' for kB, MB, GB.\n"
-		"E.g. 100k, 2m, 1g.\n",
-		cmdname);
+		    "Usage:  %s [options] <path>\n"
+		    "Options:\n"
+		    "  -h, --help       A short option summary\n"
+		    "  -s, --size sz    Size of the file\n"
+		    "  -p, --sparse     Create a sparse file\n"
+		    "\n"
+		    "Size is a number followed by 'k', 'm' or 'g' for kB, MB, GB.\n"
+		    "E.g. 100k, 2m, 1g.\n",
+		    cmdname);
 	}
 
@@ -101,11 +101,18 @@
 
 	if (ep[1] != '\0')
-		    return EINVAL;
+		return EINVAL;
 
 	switch (tolower(ep[0])) {
-	case 'k': unit = 1024; break;
-	case 'm': unit = 1024*1024; break;
-	case 'g': unit = 1024*1024*1024; break;
-	default: return EINVAL;
+	case 'k':
+		unit = 1024;
+		break;
+	case 'm':
+		unit = 1024 * 1024;
+		break;
+	case 'g':
+		unit = 1024 * 1024 * 1024;
+		break;
+	default:
+		return EINVAL;
 	}
 
@@ -162,5 +169,5 @@
 	if (argc != 1) {
 		printf("%s: incorrect number of arguments. Try `%s --help'\n",
-			cmdname, cmdname);
+		    cmdname, cmdname);
 		return CMD_FAILURE;
 	}
