fix a typo in 040-bcm963xx_flashmap.patch

SVN-Revision: 22386
This commit is contained in:
Jo-Philipp Wich 2010-07-25 00:10:37 +00:00
parent 163b24d092
commit 7831006360

View file

@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
+ return -ENOMEM;
+
+ /* Get the tag */
+ ret = master->read(master,mater->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
+ ret = master->read(master, master->erasesize, sizeof(struct bcm_tag), &retlen, (void *)buf);
+ if (retlen != sizeof(struct bcm_tag)){
+ vfree(buf);
+ return -EIO;