Changeset c83cf5c in rtems-libbsd


Ignore:
Timestamp:
Aug 12, 2016, 2:19:48 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 13421d06177df03916665bb2f3a7fcadc51a951b, d964a6703c705cc92fd053bcefc08bb3b6baa0e2, freebsd-9.3, b1e67a2bdc575f7f6e0af4922d7adb91545827ca
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.