Index: uspace/app/bdsh/cmds/modules/ls/ls.c
===================================================================
--- uspace/app/bdsh/cmds/modules/ls/ls.c	(revision ee79df74b077c538a0d8d4250b92499521eefd8f)
+++ uspace/app/bdsh/cmds/modules/ls/ls.c	(revision 21df2e51bc51f79272b1772bdaba4a093f8265f4)
@@ -115,5 +115,5 @@
 			break;
 		case LS_FILE:
-			ls_print_file(dp->d_name);
+			ls_print_file(dp->d_name, buff);
 			break;
 		case LS_BOGUS:
@@ -144,7 +144,7 @@
 }
 
-static void ls_print_file(const char *f)
-{
-	printf("%-40s\t%llu\n", f, (long long) flen(f));
+static void ls_print_file(const char *name, const char *pathname)
+{
+	printf("%-40s\t%llu\n", name, (long long) flen(pathname));
 
 	return;
@@ -193,5 +193,5 @@
 		return CMD_FAILURE;
 	case LS_FILE:
-		ls_print_file(buff);
+		ls_print_file(buff, buff);
 		break;
 	case LS_DIR:
Index: uspace/app/bdsh/cmds/modules/ls/ls.h
===================================================================
--- uspace/app/bdsh/cmds/modules/ls/ls.h	(revision ee79df74b077c538a0d8d4250b92499521eefd8f)
+++ uspace/app/bdsh/cmds/modules/ls/ls.h	(revision 21df2e51bc51f79272b1772bdaba4a093f8265f4)
@@ -11,5 +11,5 @@
 static void ls_scan_dir(const char *, DIR *);
 static void ls_print_dir(const char *);
-static void ls_print_file(const char *);
+static void ls_print_file(const char *, const char *);
 
 #endif /* LS_H */
