From: batt Date: Thu, 13 Dec 2007 23:07:17 +0000 (+0000) Subject: Add warning. X-Git-Tag: 1.0.0~206 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=bb6f3e772cf8e6f0c87d92f218e5982d7da68323;p=bertos.git Add warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1036 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/fs/battfs.c b/fs/battfs.c index a2a0326e..0a01ee3c 100644 --- a/fs/battfs.c +++ b/fs/battfs.c @@ -339,6 +339,7 @@ bool battfs_init(struct BattFsSuper *disk) pgcnt_t new_page, old_page; fill_t old_fill; + #warning fix seq wraparound! if (hdr.seq > hdr_old.seq) { /* Actual header is newer than the previuos one */