diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-23 17:53:12 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-23 17:53:12 +0000 |
commit | dfd85935e4362168aa0a1c6f699c381c54753975 (patch) | |
tree | 27ecdd07b40f68813b871a86995f35712aa2d62f | |
parent | 3845ef921e09cba00601b9d98c149deafc91b9e0 (diff) | |
download | drakx-backup-do-not-use-dfd85935e4362168aa0a1c6f699c381c54753975.tar drakx-backup-do-not-use-dfd85935e4362168aa0a1c6f699c381c54753975.tar.gz drakx-backup-do-not-use-dfd85935e4362168aa0a1c6f699c381c54753975.tar.bz2 drakx-backup-do-not-use-dfd85935e4362168aa0a1c6f699c381c54753975.tar.xz drakx-backup-do-not-use-dfd85935e4362168aa0a1c6f699c381c54753975.zip |
since dietlibc always reports null strings for RPC errors, at least provide something useful instead
-rw-r--r-- | mdk-stage1/nfsmount.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mdk-stage1/nfsmount.c b/mdk-stage1/nfsmount.c index 7f73da835..3d84badd4 100644 --- a/mdk-stage1/nfsmount.c +++ b/mdk-stage1/nfsmount.c @@ -541,14 +541,13 @@ retry_mount: goto succeeded; if (prevt == 0) - log_message(clnt_sperror(mclient, "mount")); + log_message("could not call server: probably protocol or version error"); auth_destroy(mclient->cl_auth); clnt_destroy(mclient); mclient = 0; close(msock); } else { - if (prevt == 0) - log_message(clnt_spcreateerror("mount")); + log_message("could not create rpc client: host probably not found or NFS server is down"); } prevt = t; |