Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 13:29:00 +0000 (UTC)
From:      Kai Wang <kaiw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210353 - head/lib/libelf
Message-ID:  <201007211329.o6LDT0J3030691@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kaiw
Date: Wed Jul 21 13:29:00 2010
New Revision: 210353
URL: http://svn.freebsd.org/changeset/base/210353

Log:
  * Remove a superfluous error description.
  * Document an additional error that may be returned: `ELF_E_ARCHIVE`.
  
  Obtained from:	elftoolchain
  MFC after:		1 month

Modified:
  head/lib/libelf/elf_begin.3

Modified: head/lib/libelf/elf_begin.3
==============================================================================
--- head/lib/libelf/elf_begin.3	Wed Jul 21 13:23:07 2010	(r210352)
+++ head/lib/libelf/elf_begin.3	Wed Jul 21 13:29:00 2010	(r210353)
@@ -23,7 +23,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 11, 2010
+.Dd June 20, 2010
 .Dt ELF_BEGIN 3
 .Os
 .Sh NAME
@@ -224,6 +224,10 @@ Function
 can fail with the following errors:
 .Pp
 .Bl -tag -width "[ELF_E_RESOURCE]"
+.It Bq Er ELF_E_ARCHIVE
+The archive denoted by argument
+.Ar elf
+could not be parsed.
 .It Bq Er ELF_E_ARGUMENT
 An unrecognized value was specified in argument
 .Ar cmd .
@@ -247,12 +251,6 @@ differs from the value specified when EL
 .Ar elf
 was created.
 .It Bq Er ELF_E_ARGUMENT
-Argument
-.Ar elf
-was not a descriptor for an
-.Xr ar 1
-archive.
-.It Bq Er ELF_E_ARGUMENT
 An
 .Xr ar 1
 archive was opened with with



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211329.o6LDT0J3030691>