summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-12-29 00:10:20 +0000
committerjkh <jkh@FreeBSD.org>1997-12-29 00:10:20 +0000
commitf5f5008388092430288cb0018453755be5be7bdb (patch)
tree750c5330b50d4c58f86e82cd524f6642f8d1c4c2 /etc/MAKEDEV
parent005e82d0d48c18bf9c8f7dd68fbdddaecd02fa38 (diff)
downloadFreeBSD-src-f5f5008388092430288cb0018453755be5be7bdb.zip
FreeBSD-src-f5f5008388092430288cb0018453755be5be7bdb.tar.gz
Yet another slight bogon that I just noticed needed cleaning up. The for
loop was sloppily written, taking advantage of a default for argument handling which few are probably aware of rather than stating its purpose more explicitly. Can't also help but notice that the fd* entry also contains far more comment lines than actual statements - can we please clean that up? The wt* entry could use a bit of the same.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index ef815a8..30c433d 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -106,7 +106,7 @@
# perfmon CPU performance-monitoring counters
# pci PCI configuration-space access from user mode
#
-# $Id: MAKEDEV,v 1.143 1997/12/29 00:02:18 jkh Exp $
+# $Id: MAKEDEV,v 1.144 1997/12/29 00:03:36 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@@ -183,8 +183,7 @@ scsictl=$((1 << 29))
disk_umask=037 # allow group operator to read disks
tape_umask=017 # allow group operator to read/write tapes
-for i
-do
+for i in $*; do
case $i in
all)
OpenPOWER on IntegriCloud