[brcm63xx] fix a typo in 040-bcm963xx_flashmap.patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22386 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jo-Philipp Wich 2010-07-25 00:10:37 +00:00
parent 1e15a46d4e
commit 80edf72017
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
+ return -ENOMEM; + return -ENOMEM;
+ +
+ /* Get the tag */ + /* 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)){ + if (retlen != sizeof(struct bcm_tag)){
+ vfree(buf); + vfree(buf);
+ return -EIO; + return -EIO;