Make the license message viewable with a verbose option.

The license details can be viewed if you mount with a -v option:

 # mount -i nfs -o "-v" 1.2.3.4:/mnt /mnt
This commit is contained in:
Chris Johns
2016-06-30 13:32:29 +10:00
parent 34f6271425
commit 761ae78e05
3 changed files with 21 additions and 16 deletions

View File

@@ -132,7 +132,7 @@ rpcSetXIDs(uint32_t xid);
* @retval 0 on success, -1 on failure
*/
int
rpcUdpInit(void);
rpcUdpInit(bool verbose);
/**
* @brief RPC cleanup and stop.
@@ -167,7 +167,7 @@ rpcUdpCleanup(void);
* @retval -1 An error occurred. The errno is set to indicate the error.
*/
int
nfsInit(int smallPoolDepth, int bigPoolDepth);
nfsInit(int smallPoolDepth, int bigPoolDepth, bool verbose);
/**
* @brief Driver cleanup code.