From owner-svn-src-head@freebsd.org Mon Aug 1 16:51:14 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89079BAAED8 for ; Mon, 1 Aug 2016 16:51:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D55191654 for ; Mon, 1 Aug 2016 16:51:13 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 0368576a-5808-11e6-ac92-3142cfe117f2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.eu.mailhop.org (Halon Mail Gateway) with ESMTPSA; Mon, 1 Aug 2016 16:50:11 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u71GnuC1034256; Mon, 1 Aug 2016 10:49:56 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1470070196.1283.25.camel@freebsd.org> Subject: Re: svn commit: r303522 - head/sys/dev/cxgbe From: Ian Lepore To: Bruce Simpson , John Baldwin , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Mon, 01 Aug 2016 10:49:56 -0600 In-Reply-To: <86806f53-8ecd-d7d7-aad3-592d6b702609@fastmail.net> References: <201607292211.u6TMBTEJ092580@repo.freebsd.org> <86806f53-8ecd-d7d7-aad3-592d6b702609@fastmail.net> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2016 16:51:14 -0000 On Mon, 2016-08-01 at 16:38 +0100, Bruce Simpson wrote: > "Yes, I know it's not a typewriter. Why is this command not working?" > > Perhaps this errno code should be aliased... and strerror() massaged > in > places... assuming we strictly follow the POSIX. > It's not clear just what point you're trying to make. ENOTTY has a special meaning as a return value from an ioctl call in some contexts (it specifically means the called routine did not handle the command and other routines hooked into the ioctl call chain may be able to do the job). In addition, the strerror() output for ENOTTY says nothing about a typewriter, the text is "Inappropriate ioctl for device." -- Ian