diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-09-24 11:29:10 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-09-25 11:50:16 +1000 |
commit | 6e54f6179cb9e9d5706901a06744b8f4667c24e7 (patch) | |
tree | c767c19e83deaec302997ec7eb336013c4ec41d9 /utils/mount/error.h | |
parent | 4398901d336340f5bef59991d4cea77b2970f2fe (diff) | |
download | nfs-utils-6e54f6179cb9e9d5706901a06744b8f4667c24e7.tar.gz nfs-utils-6e54f6179cb9e9d5706901a06744b8f4667c24e7.tar.xz nfs-utils-6e54f6179cb9e9d5706901a06744b8f4667c24e7.zip |
text-based mount.nfs: Add text-based error reporting function
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>
Diffstat (limited to 'utils/mount/error.h')
-rw-r--r-- | utils/mount/error.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/mount/error.h b/utils/mount/error.h index ce9a7b6..8b8e9ae 100644 --- a/utils/mount/error.h +++ b/utils/mount/error.h @@ -25,4 +25,6 @@ char *nfs_strerror(int); void mount_error(const char *, const char *, int); void rpc_mount_errors(char *, int, int); +void sys_mount_errors(char *, int, int, int); + void umount_error(int, const char *); |