From owner-svn-src-all@FreeBSD.ORG Wed Mar 2 09:30:46 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76424106566B; Wed, 2 Mar 2011 09:30:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 278FF8FC16; Wed, 2 Mar 2011 09:30:45 +0000 (UTC) Received: from outgoing.leidinger.net (p5B32E950.dip.t-dialin.net [91.50.233.80]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 01D25844015; Wed, 2 Mar 2011 10:30:40 +0100 (CET) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 9E70D21F6; Wed, 2 Mar 2011 10:30:36 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p229UV5m004288; Wed, 2 Mar 2011 10:30:31 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 02 Mar 2011 10:30:31 +0100 Message-ID: <20110302103031.30608fh7u33h3s54@webmail.leidinger.net> Date: Wed, 02 Mar 2011 10:30:31 +0100 From: Alexander Leidinger To: Dmitry Chagin References: <201103011642.p21GgTaH041022@svn.freebsd.org> In-Reply-To: <201103011642.p21GgTaH041022@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 01D25844015.A76AF X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.351, required 6, autolearn=disabled, RDNS_NONE 1.27, TW_SV 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1299663043.04602@nXmY8q2JV7y0EgoyKox0SA X-EBL-Spam-Status: No Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r219138 - head/usr.bin/kdump X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 09:30:46 -0000 Quoting Dmitry Chagin (from Tue, 1 Mar 2011 16:42:29 +0000 (UTC)): > Author: dchagin > Date: Tue Mar 1 16:42:28 2011 > New Revision: 219138 > URL: http://svn.freebsd.org/changeset/base/219138 > > Log: > Teach kdump to decode linux syscalls names too. > Modified: head/usr.bin/kdump/kdump.c > ============================================================================== > --- head/usr.bin/kdump/kdump.c Tue Mar 1 14:54:14 2011 (r219137) > +++ head/usr.bin/kdump/kdump.c Tue Mar 1 16:42:28 2011 (r219138) > +/* > + * from linux.h > + * Linux syscalls return negative errno's, we do positive and map them > + */ > +static int bsd_to_linux_errno[ELAST + 1] = { > + -0, -1, -2, -3, -4, -5, -6, -7, -8, -9, Can you please specify the full path within SRC for the linux.h you copied this from, and also add a comment to this linux.h to tell to not forget to update kdump.c if this is updated (or seperate this into another header and include it here)? Bye, Alexander. -- Committee, n.: A group of men who individually can do nothing but as a group decide that nothing can be done. -- Fred Allen http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137