Changeset 3f6d4ea in mainline
- Timestamp:
- 2012-02-19T17:45:56Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50e754e
- Parents:
- 6cf9aeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkexfat/mkexfat.c
r6cf9aeb r3f6d4ea 232 232 233 233 if (cfg.sector_size > 4096) { 234 printf(NAME ": Error, sector size can't be greater" \234 printf(NAME ": Error, sector size can't be greater" \ 235 235 " than 4096 bytes.\n"); 236 236 return 2; … … 252 252 vbr_initialize(&vbr, &cfg); 253 253 254 /* Write the VBR on disk */ 255 rc = block_write_direct(service_id, 0, 1, &vbr); 256 if (rc != EOK) { 257 printf(NAME ": Error, failed to write the VBR on disk\n"); 258 return 2; 259 } 260 261 /* Write the VBR backup on disk */ 262 rc = block_write_direct(service_id, 1, 1, &vbr); 263 if (rc != EOK) { 264 printf(NAME ": Error, failed to write the VBR" \ 265 " backup on disk\n"); 266 return 2; 267 } 254 268 255 269 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.