summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nfs/mount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nfs/mount.c b/nfs/mount.c
index 0113d665..2c53b72e 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -110,6 +110,9 @@ mount_root (char *name, char *host)
perror (name);
return 0;
}
+ /* XXX Protocol spec says this should be a "unix error code"; we'll
+ pretend that an NFS error code is what's meant, the numbers match
+ anyhow. */
errno = nfs_error_trans (htonl (*p++));
if (errno)
{