From owner-cvs-all Thu Oct 24 11: 0:46 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7265337B401; Thu, 24 Oct 2002 11:00:44 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16AA243E4A; Thu, 24 Oct 2002 11:00:44 -0700 (PDT) (envelope-from luigi@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 g9OHxxmV016417; Thu, 24 Oct 2002 10:59:59 -0700 (PDT) (envelope-from luigi@repoman.freebsd.org) Received: (from luigi@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9OHxwqQ016414; Thu, 24 Oct 2002 10:59:58 -0700 (PDT) Message-Id: <200210241759.g9OHxwqQ016414@repoman.freebsd.org> From: Luigi Rizzo Date: Thu, 24 Oct 2002 10:59:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc MAKEDEV X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG luigi 2002/10/24 10:59:58 PDT Modified files: etc MAKEDEV Log: Fix a bug in MAKEDEV -- when creating /dev/usb, the code was using whatever random value was already in $unit. It happened to work because the variable is often unset, but this is not always the case e.g. when you call "MAKEDEV sio2 usb ..." This affects -stable as well. Reviewed by: n_hibma Silence from: re MFC after: 3 days Revision Changes Path 1.332 +2 -2 src/etc/MAKEDEV To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message