From owner-cvs-src@FreeBSD.ORG Mon Jul 2 10:52:35 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11A9416A41F; Mon, 2 Jul 2007 10:52:35 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E04E313C447; Mon, 2 Jul 2007 10:52:34 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l62AqYaq004643; Mon, 2 Jul 2007 10:52:34 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l62AqYeN004642; Mon, 2 Jul 2007 10:52:34 GMT (envelope-from rrs) Message-Id: <200707021052.l62AqYeN004642@repoman.freebsd.org> From: Randall Stewart Date: Mon, 2 Jul 2007 10:52:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/net sctp_sys_calls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 10:52:35 -0000 rrs 2007-07-02 10:52:34 UTC FreeBSD src repository Modified files: lib/libc/net sctp_sys_calls.c Log: - Removes some incorrect error returns (errno was being overriden in one of the functions) - Fixes the error return of sctp_get_opt, it was returning the errno not -1. Approved by: re@freebsd.org (Robert Watson) Obtained from: Weongyo Jeong (weongyo.jeong@gmail.com) Revision Changes Path 1.12 +2 -4 src/lib/libc/net/sctp_sys_calls.c