/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c |
---|
117,9 → 117,9 |
entry.len = uint32_t_le2host(entry.len); |
switch (entry.type) { |
case 0: |
case TMPFS_NONE: |
break; |
case 1: |
case TMPFS_FILE: |
fname = malloc(entry.len + 1); |
if (fname == NULL) |
return false; |
161,7 → 161,7 |
return false; |
break; |
case 2: |
case TMPFS_DIRECTORY: |
fname = malloc(entry.len + 1); |
if (fname == NULL) |
return false; |
195,7 → 195,7 |
default: |
return false; |
} |
} while (entry.type != 0); |
} while (entry.type != TMPFS_NONE); |
return true; |
} |