Changeset 8d8ad19 in mainline


Ignore:
Timestamp:
2012-02-29T22:03:06Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
df4fbe1
Parents:
875bc8b
Message:

mkexfat: raise an error if dev_path == NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkexfat/mkexfat.c

    r875bc8b r8d8ad19  
    787787        dev_path = *argv;
    788788
     789        if (!dev_path) {
     790                printf(NAME ": Error, you must specify a valid block"
     791                    " device.\n");
     792                usage();
     793                return 1;
     794        }
     795
    789796        printf("Device = %s\n", dev_path);
    790797
Note: See TracChangeset for help on using the changeset viewer.