summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLandry Breuil <landry@cvs.openbsd.org>2012-05-29 18:44:41 +0000
committerLandry Breuil <landry@cvs.openbsd.org>2012-05-29 18:44:41 +0000
commitb70f81d3e019d369a491733fede64051e6b7e69c (patch)
treeeacf64a25457a9a38b2e3ce2101c8264138dcd4e
parent00bea2771ed67e8a54f8471bfaaa8cc18ef71862 (diff)
Fix typo in error message ("Cannot MNT PRC"->RPC)
ok krw@
-rw-r--r--sbin/umount/umount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index 3ec311d7c06..1d58291e001 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umount.c,v 1.21 2009/10/27 23:59:34 deraadt Exp $ */
+/* $OpenBSD: umount.c,v 1.22 2012/05/29 18:44:40 landry Exp $ */
/* $NetBSD: umount.c,v 1.16 1996/05/11 14:13:55 mycroft Exp $ */
/*-
@@ -230,7 +230,7 @@ umountfs(char *oname)
so = RPC_ANYSOCK;
if ((clp = clntudp_create(&saddr,
RPCPROG_MNT, RPCMNT_VER1, pertry, &so)) == NULL) {
- clnt_pcreateerror("Cannot MNT PRC");
+ clnt_pcreateerror("Cannot MNT RPC");
return (1);
}
clp->cl_auth = authunix_create_default();