Project

General

Profile

Actions

Bug #2191

closed

Clean up one EINVAL case in setsockopt(3socket)

Added by Dan McDonald about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
manpage - manual pages
Start date:
2012-02-27
Due date:
% Done:

100%

Estimated time:
4.00 h
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

And I quote:

     EINVAL
                      Invalid length for IP_OPTIONS.

EINVAL should say, "Invalid length for a given option."

Actions #1

Updated by Dan McDonald about 9 years ago

  • % Done changed from 0 to 90
  • Tags deleted (needs-triage)

No-brainer of a change:

diff -r e5889df1eaac usr/src/man/man3socket/getsockopt.3socket
--- a/usr/src/man/man3socket/getsockopt.3socket    Sat Feb 18 19:52:02 2012 +0100
+++ b/usr/src/man/man3socket/getsockopt.3socket    Mon Feb 27 14:41:11 2012 -0500
@@ -425,7 +425,7 @@
 \fB\fBEINVAL\fR\fR
 .ad
 .RS 17n
-Invalid length for \fBIP_OPTIONS\fR.
+Invalid length for a given socket option.
 .RE

 .sp
Actions #2

Updated by Garrett D'Amore about 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

garrett@velocity{19}> hg head
changeset: 13623:cd878e98cd0d
tag: tip
user: Dan McDonald <>
date: Mon Feb 27 14:35:31 2012 -0800
description:
2191 Clean up one EINVAL case in setsockopt(3socket)
Reviewed by: Milan Jurik <>
Reviewed by: Garrett D'Amore <>
Approved by: Garrett D'Amore <>

Actions

Also available in: Atom PDF