From owner-cvs-src@FreeBSD.ORG Fri Jul 4 18:31:31 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDB7837B401; Fri, 4 Jul 2003 18:31:31 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59C4B43FFD; Fri, 4 Jul 2003 18:31:31 -0700 (PDT) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h651VV0U073471; Fri, 4 Jul 2003 18:31:31 -0700 (PDT) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h651VVFm073470; Fri, 4 Jul 2003 18:31:31 -0700 (PDT) Message-Id: <200307050131.h651VVFm073470@repoman.freebsd.org> From: Thomas Moestl Date: Fri, 4 Jul 2003 18:31:31 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/zs zs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 05 Jul 2003 01:31:32 -0000 tmm 2003/07/04 18:31:31 PDT FreeBSD src repository Modified files: sys/dev/zs zs.c Log: Fix a signedness problem in zstty_cncheckc(): when no character is ready, -1 should be returned, but it was assigned to an uint8_t (which is extended to an int to form the return value), causing 255 to be returned instead. Revision Changes Path 1.12 +1 -1 src/sys/dev/zs/zs.c