Rev 4153 | Rev 4581 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4153 | Rev 4327 | ||
---|---|---|---|
Line 175... | Line 175... | ||
175 | if (block_read(dev, &bufpos, &buflen, &pos, tag, 5, |
175 | if (block_read(dev, &bufpos, &buflen, &pos, tag, 5, |
176 | TMPFS_BLOCK_SIZE) != EOK) |
176 | TMPFS_BLOCK_SIZE) != EOK) |
177 | goto error; |
177 | goto error; |
178 | 178 | ||
179 | tag[5] = 0; |
179 | tag[5] = 0; |
180 | if (strcmp(tag, "TMPFS") != 0) |
180 | if (str_cmp(tag, "TMPFS") != 0) |
181 | goto error; |
181 | goto error; |
182 | 182 | ||
183 | if (!tmpfs_restore_recursion(dev, &bufpos, &buflen, &pos, |
183 | if (!tmpfs_restore_recursion(dev, &bufpos, &buflen, &pos, |
184 | ops->root_get(dev))) |
184 | ops->root_get(dev))) |
185 | goto error; |
185 | goto error; |