yaffs all timothy_tests makefiles are working. threading test is broken.
[yaffs2.git] / yaffs_nameval.c
index 487b03e19fd9a6f0fb06800f7dde867602ccdc16..4bdf4ed743a7195dca0e3af8ac7775801b96b42c 100644 (file)
@@ -37,7 +37,8 @@ static int nval_find(const char *xb, int xb_size, const YCHAR *name,
 
        memcpy(&size, xb, sizeof(int));
        while (size > 0 && (size < xb_size) && (pos + size < xb_size)) {
-               if (!strncmp((YCHAR *) (xb + pos + sizeof(int)), name, size)) {
+               if (!strncmp((YCHAR *) (xb + pos + sizeof(int)),
+                               name, size)) {
                        if (exist_size)
                                *exist_size = size;
                        return pos;