summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2007-09-17 16:04:24 +0000
committerblambert <blambert@openbsd.org>2007-09-17 16:04:24 +0000
commit95681f86e7496a52fa6c9153392d85342f43adbb (patch)
tree75f519b1265bad6374e3c1cae0b570dc6223da2e
parentDocument the syntax used with manual SAs for automatic creation (diff)
downloadwireguard-openbsd-95681f86e7496a52fa6c9153392d85342f43adbb.tar.xz
wireguard-openbsd-95681f86e7496a52fa6c9153392d85342f43adbb.zip
Fix comment typos; ok ray@, jmc@
-rw-r--r--lib/libc/rpc/xdr_stdio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/xdr_stdio.c b/lib/libc/rpc/xdr_stdio.c
index d4a7e1a235a..130381d1377 100644
--- a/lib/libc/rpc/xdr_stdio.c
+++ b/lib/libc/rpc/xdr_stdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xdr_stdio.c,v 1.10 2007/09/10 14:29:53 tobias Exp $ */
+/* $OpenBSD: xdr_stdio.c,v 1.11 2007/09/17 16:04:24 blambert Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -55,8 +55,8 @@ static void xdrstdio_destroy(XDR *);
* Ops vector for stdio type XDR
*/
static struct xdr_ops xdrstdio_ops = {
- xdrstdio_getlong, /* deseraialize a long int */
- xdrstdio_putlong, /* seraialize a long int */
+ xdrstdio_getlong, /* deserialize a long int */
+ xdrstdio_putlong, /* serialize a long int */
xdrstdio_getbytes, /* deserialize counted bytes */
xdrstdio_putbytes, /* serialize counted bytes */
xdrstdio_getpos, /* get offset in the stream */
@@ -152,7 +152,7 @@ xdrstdio_inline(XDR *xdrs, u_int len)
{
/*
- * Must do some work to implement this: must insure
+ * Must do some work to implement this: must ensure
* enough data in the underlying stdio buffer,
* that the buffer is aligned so that we can indirect through a
* long *, and stuff this pointer in xdrs->x_buf. Doing