X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_attribs.c;h=fe914e558b64cba94ef599e8b463cde40bf8117b;hp=241c08ae58ae2cca960976762bb341879540cfa1;hb=236044674b17ac4455b44cb4bdb0ea99107d9a99;hpb=0e2c2639d6f9ac7b09c93550f9bfa03fdb734eef diff --git a/yaffs_attribs.c b/yaffs_attribs.c index 241c08a..fe914e5 100644 --- a/yaffs_attribs.c +++ b/yaffs_attribs.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -64,7 +64,7 @@ loff_t yaffs_get_file_size(struct yaffs_obj *obj) alias = obj->variant.symlink_variant.alias; if (!alias) return 0; - return yaffs_strnlen(alias, YAFFS_MAX_ALIAS_LENGTH); + return strnlen(alias, YAFFS_MAX_ALIAS_LENGTH); default: return 0; }