Use the primary device.
Change-Id: Id45fcedcb5b3cacd753346a117423a462a00efb2
diff --git a/extendedcommands.c b/extendedcommands.c
index 047f416..31944e7 100644
--- a/extendedcommands.c
+++ b/extendedcommands.c
@@ -922,14 +922,7 @@
}
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);