From owner-cvs-src-old@FreeBSD.ORG Wed Dec 29 05:13:45 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 843931065775 for ; Wed, 29 Dec 2010 05:13:45 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5776C8FC08 for ; Wed, 29 Dec 2010 05:13:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBT5DjVk039847 for ; Wed, 29 Dec 2010 05:13:45 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBT5DjgR039846 for cvs-src-old@freebsd.org; Wed, 29 Dec 2010 05:13:45 GMT (envelope-from cperciva@repoman.freebsd.org) Message-Id: <201012290513.oBT5DjgR039846@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to cperciva@repoman.freebsd.org using -f From: Colin Percival Date: Wed, 29 Dec 2010 05:13:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/xen/console console.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 05:13:45 -0000 cperciva 2010-12-29 05:13:21 UTC FreeBSD src repository Modified files: sys/dev/xen/console console.c Log: SVN rev 216790 on 2010-12-29 05:13:21Z by cperciva A lack of console input is not the same thing as a byte of \0 input. Correctly return -1 from cngetc when no input is available to be read. This fixes the '(CTRL-C to abort)' spam while dumping. MFC after: 3 days Revision Changes Path 1.16 +4 -3 src/sys/dev/xen/console/console.c