Index: uspace/app/mkexfat/mkexfat.c
===================================================================
--- uspace/app/mkexfat/mkexfat.c	(revision 5dbd69669d92be4b3b8f009238f2eeb3c0ba1985)
+++ uspace/app/mkexfat/mkexfat.c	(revision f897312270e1dcc425c3e9512a34d58aabaa7f89)
@@ -108,4 +108,7 @@
 	fat_bytes = (cfg->total_clusters + 1) * 4;
 	cfg->fat_sector_count = div_round_up(fat_bytes, cfg->sector_size);
+
+	/* The first sector of the partition is zero */
+	cfg->volume_start = 0;
 }
 
@@ -175,7 +178,4 @@
 	}
 
-	/* The fist sector of the partition is zero */
-	cfg.volume_start = 0;
-
 	/* TODO: Add parameters */
 
