projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93258fb
)
Merged from external project:
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Nov 2008 11:05:06 +0000
(11:05 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Nov 2008 11:05:06 +0000
(11:05 +0000)
**********
r22593 | batt | 2008-11-07 12:02:41 +0100 (ven, 07 nov 2008) | 1 line
Fix file search.
**********
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1907
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/fs/battfs.c
patch
|
blob
|
history
diff --git
a/bertos/fs/battfs.c
b/bertos/fs/battfs.c
index a10ef85f68d21192b7d0b140cad1bb29134708be..2410f42dd4f319b5daee9ce3a283235907b0b2d5 100644
(file)
--- a/
bertos/fs/battfs.c
+++ b/
bertos/fs/battfs.c
@@
-875,7
+875,7
@@
static bool findFile(BattFsSuper *disk, inode_t inode, pgcnt_t *last)
else if (hdr.fcs == fcs && hdr.inode < inode)
first = page + 1;
else
- *last = page
+ 1
;
+ *last = page;
}
LOG_INFO("Not found: last %d\n", *last);
return false;