Index: uspace/app/bdsh/Makefile
===================================================================
--- uspace/app/bdsh/Makefile	(revision 25c1b2cfa59c18596ad80c56082194eccfe10c52)
+++ uspace/app/bdsh/Makefile	(revision b48d04693b3416fe0c2e8bfff373f7c147ef35aa)
@@ -31,6 +31,6 @@
 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBCLUI_PREFIX)/libclui.a \
 	$(LIBFMTUTIL_PREFIX)/libfmtutil.a
-EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I$(LIBCLUI_PREFIX) -I$(LIBFMTUTIL_PREFIX)\
-	-I. -Icmds/ -Icmds/builtins -Icmds/modules
+EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I$(LIBCLUI_PREFIX) \
+	-I$(LIBFMTUTIL_PREFIX) -I. -Icmds/ -Icmds/builtins -Icmds/modules
 BINARY = bdsh
 
Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision 25c1b2cfa59c18596ad80c56082194eccfe10c52)
+++ uspace/app/bdsh/input.c	(revision b48d04693b3416fe0c2e8bfff373f7c147ef35aa)
@@ -67,8 +67,9 @@
 int process_input(cliuser_t *usr)
 {
-	char *cmd[WORD_MAX];
 	token_t *tokens = calloc(WORD_MAX, sizeof(token_t));
 	if (tokens == NULL)
 		return ENOMEM;
+	
+	char *cmd[WORD_MAX];
 	int rc = 0;
 	tokenizer_t tok;
@@ -78,5 +79,5 @@
 	char *redir_to = NULL;
 
-	if (NULL == usr->line) {
+	if (usr->line == NULL) {
 		free(tokens);
 		return CL_EFAIL;
Index: uspace/lib/c/generic/str.c
===================================================================
--- uspace/lib/c/generic/str.c	(revision 25c1b2cfa59c18596ad80c56082194eccfe10c52)
+++ uspace/lib/c/generic/str.c	(revision b48d04693b3416fe0c2e8bfff373f7c147ef35aa)
@@ -731,9 +731,10 @@
 {
 	size_t len = str_length(str);
-        wchar_t *wstr = calloc(len+1, sizeof(wchar_t));
-        if (wstr == NULL) {
-                return NULL;
-        }
-        str_to_wstr(wstr, len+1, str);
+	
+	wchar_t *wstr = calloc(len+1, sizeof(wchar_t));
+	if (wstr == NULL)
+		return NULL;
+	
+	str_to_wstr(wstr, len + 1, str);
 	return wstr;
 }
