projects
/
yaffs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cacf6da
)
*** empty log message ***
author
charles
<charles>
Tue, 10 Sep 2002 05:20:44 +0000
(
05:20
+0000)
committer
charles
<charles>
Tue, 10 Sep 2002 05:20:44 +0000
(
05:20
+0000)
utils/mkyaffsimage.c
patch
|
blob
|
history
diff --git
a/utils/mkyaffsimage.c
b/utils/mkyaffsimage.c
index 87fc7dab837c2e40d4976c4ed3457db1b339a857..797bc0f0f1192d32cb495afb83c36fdfe5e69ee1 100644
(file)
--- a/
utils/mkyaffsimage.c
+++ b/
utils/mkyaffsimage.c
@@
-174,6
+174,7
@@
int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes)
if(error < 0) return error;
memset(&t,0xff,sizeof (yaffs_Tags));
+ memset(&s,0xff,sizeof (yaffs_Spare));
t.chunkId = chunkId;
t.serialNumber = 0;