Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision a2aa1decbd0c4b48001b868e4220b226dd3a1e10)
+++ uspace/srv/fs/fat/fat_ops.c	(revision dfa7bac346297f7790a17cd7dd459c2644aba6ef)
@@ -43,4 +43,5 @@
 #include <errno.h>
 #include <string.h>
+#include <endian.h>
 
 #define FAT_NAME_LEN		8
@@ -136,5 +137,5 @@
 			/* hit */
 			void *node = fat_node_get(parentp->dev_handle,
-			    (fs_index_t)d->firstc);
+			    (fs_index_t)uint16_t_le2host(d->firstc));
 			fat_dentry_put(d);
 			return node;
