projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation of mkyaffsimage and mkyaffs2image
[yaffs2.git]
/
direct
/
yaffs_attribs.c
diff --git
a/direct/yaffs_attribs.c
b/direct/yaffs_attribs.c
index 86e5e6eece13a1557a75cafc82bffd672285188e..82111c2c3979ca076f51257c80bd21f1c12dd61a 100644
(file)
--- a/
direct/yaffs_attribs.c
+++ b/
direct/yaffs_attribs.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-92,7
+92,7
@@
loff_t yaffs_get_file_size(struct yaffs_obj *obj)
alias = obj->variant.symlink_variant.alias;
if(!alias)
return 0;
alias = obj->variant.symlink_variant.alias;
if(!alias)
return 0;
- return strnlen(alias,YAFFS_MAX_ALIAS_LENGTH);
+ return
yaffs_
strnlen(alias,YAFFS_MAX_ALIAS_LENGTH);
default:
return 0;
}
default:
return 0;
}