fix broken OTAs; format() is called with wrong # of args

Change-Id: Id95d345158b36f149c12342d6cd1f03f2875b110
This commit is contained in:
Doug Zongker 2012-04-09 12:27:43 -07:00
parent 135c3af45a
commit df2056e29e
1 changed files with 2 additions and 2 deletions

View File

@ -165,9 +165,9 @@ class EdifyGenerator(object):
fstab = self.info.get("fstab", None)
if fstab:
p = fstab[partition]
self.script.append('format("%s", "%s", "%s", "%s");' %
self.script.append('format("%s", "%s", "%s", "%s", "%s");' %
(p.fs_type, common.PARTITION_TYPES[p.fs_type],
p.device, p.length))
p.device, p.length, p.mount_point))
def DeleteFiles(self, file_list):
"""Delete all files in file_list."""