svn commit: r226638 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Sat Oct 22 17:56:24 UTC 2011


Author: kientzle
Date: Sat Oct 22 17:56:24 2011
New Revision: 226638
URL: http://svn.freebsd.org/changeset/base/226638

Log:
  Correct the spelling of getgrgid and getpwuid in the man page.
  
  MFC after:	3 days

Modified:
  head/lib/libarchive/archive_read_disk.3

Modified: head/lib/libarchive/archive_read_disk.3
==============================================================================
--- head/lib/libarchive/archive_read_disk.3	Sat Oct 22 17:51:45 2011	(r226637)
+++ head/lib/libarchive/archive_read_disk.3	Sat Oct 22 17:56:24 2011	(r226638)
@@ -133,16 +133,16 @@ object is destroyed or when new lookup f
 This convenience function installs a standard set of user
 and group name lookup functions.
 These functions use
-.Xr getpwid 3
+.Xr getpwuid 3
 and
-.Xr getgrid 3
+.Xr getgrgid 3
 to convert ids to names, defaulting to NULL if the names cannot
 be looked up.
 These functions also implement a simple memory cache to reduce
 the number of calls to
-.Xr getpwid 3
+.Xr getpwuid 3
 and
-.Xr getgrid 3 .
+.Xr getgrgid 3 .
 .It Fn archive_read_disk_entry_from_file
 Populates a
 .Tn struct archive_entry
@@ -281,9 +281,9 @@ library was written by
 The
 .Dq standard
 user name and group name lookup functions are not the defaults because
-.Xr getgrid 3
+.Xr getgrgid 3
 and
-.Xr getpwid 3
+.Xr getpwuid 3
 are sometimes too large for particular applications.
 The current design allows the application author to use a more
 compact implementation when appropriate.


More information about the svn-src-all mailing list