Changeset c83cf5c in rtems-libbsd


Ignore:
Timestamp:
08/12/16 02:19:48 (8 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
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.