From 4233c7fb3c9aca62862ff58313b1fe2bb6a4e949 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Fri, 3 Sep 2010 22:16:57 -0700 Subject: [PATCH] Use the primary device. Change-Id: Id45fcedcb5b3cacd753346a117423a462a00efb2 --- extendedcommands.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/extendedcommands.c b/extendedcommands.c index 047f416..31944e7 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -922,14 +922,7 @@ void write_fstab_root(char *root_path, FILE *file) } else { - // only SDCARD: seems to be using device2. - // and mmcblkXp1 is the fallback/device2. - // However, generally, mmcblkXp1 is usually where the - // FAT partition is located... so favor that. - if (NULL == info->device2) - fprintf(file, "%s ", info->device); - else - fprintf(file, "%s ", info->device2); + fprintf(file, "%s ", info->device); } fprintf(file, "%s ", info->mount_point);