Changeset ade06b4 in mainline for uspace/srv/fs/tmpfs/tmpfs_dump.c
- Timestamp:
- 2008-08-06T18:27:11Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93a9233
- Parents:
- 57b4f46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs_dump.c
r57b4f46 rade06b4 118 118 119 119 switch (entry.type) { 120 case 0:120 case TMPFS_NONE: 121 121 break; 122 case 1:122 case TMPFS_FILE: 123 123 fname = malloc(entry.len + 1); 124 124 if (fname == NULL) … … 162 162 163 163 break; 164 case 2:164 case TMPFS_DIRECTORY: 165 165 fname = malloc(entry.len + 1); 166 166 if (fname == NULL) … … 196 196 return false; 197 197 } 198 } while (entry.type != 0);198 } while (entry.type != TMPFS_NONE); 199 199 200 200 return true;
Note:
See TracChangeset
for help on using the changeset viewer.