summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2007-09-17 16:04:25 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2007-09-17 16:04:25 +0000
commiteffbc952ba9224e01184c32679934abe89412b67 (patch)
tree61c6e8d71e0b0acc0cbf05d774fc7fb4e96b65dc
parentdb61bf3acab57b23dea8f5728470167d76cc1428 (diff)
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