Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Patch] fix typo in bin/pax/cpio.c

1 view
Skip to first unread message

Caspar Schutijser

unread,
May 21, 2013, 2:03:19 PM5/21/13
to te...@openbsd.org
Hi tech@,

I found a typo in bin/pax/cpio.c. The comment is talking about a
function called rd_nam(), but the function below it is called rd_nm().
In the file, there are no other references to rd_nam().

The patch is below.

Best regards,
Caspar Schutijser


Index: bin/pax/cpio.c
===================================================================
RCS file: /cvs/src/bin/pax/cpio.c,v
retrieving revision 1.20
diff -u -p -r1.20 cpio.c
--- bin/pax/cpio.c 4 Dec 2012 02:24:45 -0000 1.20
+++ bin/pax/cpio.c 21 May 2013 16:16:40 -0000
@@ -166,7 +166,7 @@ cpio_endwr(void)
}

/*
- * rd_nam()
+ * rd_nm()
* read in the file name which follows the cpio header
* Return:
* 0 if ok, -1 otherwise

0 new messages