]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
text-based mount.nfs: Add text-based error reporting function
authorChuck Lever <chuck.lever@oracle.com>
Mon, 24 Sep 2007 15:29:10 +0000 (11:29 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 25 Sep 2007 01:50:16 +0000 (11:50 +1000)
The mount_errors() function prints an error based on what just happened in
the user-space RPC library.  This is meaningless for text-based mounts,
since they don't use the RPC library for most things.

Add a new error printing function that the text-based logic can use to
report an error.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>

No differences found