Changeset c83cf5c in rtems-libbsd


Ignore:
Timestamp:
Aug 12, 2016, 2:19:48 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, freebsd-9.3, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
ab7739a
Parents:
691ed15
git-author:
Chris Johns <chrisj@…> (08/12/16 02:19:48)
git-committer:
Chris Johns <chrisj@…> (08/12/16 05:56:30)
Message:

nfsclient: Only parse for options when present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/nfsclient/nfs.c

    r691ed15 rc83cf5c  
    18101810char                            *path     = mt_entry->dev;
    18111811const char          *options = (const char*) data;
    1812 bool                verbose = strstr(options, "-v") != NULL;
     1812bool                verbose = false;
     1813
     1814        if (options != NULL)
     1815                verbose = strstr(options, "-v") != NULL;
    18131816
    18141817        if (rpcUdpInit (verbose) < 0) {
Note: See TracChangeset for help on using the changeset viewer.