Date: Sun, 20 Oct 2002 14:09:31 -0700 From: Luigi Rizzo <rizzo@icir.org> To: current@freebsd.org Subject: minor bug in MAKEDEV ? Message-ID: <20021020140931.A8360@carp.icir.org>
next in thread | raw e-mail | index | archive | help
[Bcc re@ in case i need to commit a fix] i think the snippet of code below (from etc/MAKEDEV) should not use $unit, because the goal is to create a /dev/usb entry. It works now because it normally happens to be called with $unit unset, but this is not always the case. Same bug is also in -stable. 1.220 (n_hibma 17-Nov-99): usb) 1.237 (n_hibma 21-Jan-00): mknod usb$unit c 108 255 root:operator 1.237 (n_hibma 21-Jan-00): chmod 0660 usb$unit 1.179 (n_hibma 03-Jan-99): ;; Should i commit the [trivial] fix which is remove $unit from both lines ? cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2988 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021020140931.A8360>