summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-11-09 14:49:43 +0000
committersimokawa <simokawa@FreeBSD.org>2003-11-09 14:49:43 +0000
commit9b0ffa5c91f10b508092326779ef63e82d6bc8dc (patch)
tree2abd788b5503a29613171b549977858e0097991d /usr.sbin
parent67e14c35e9e18c53750d1cf461402741d643ee32 (diff)
downloadFreeBSD-src-9b0ffa5c91f10b508092326779ef63e82d6bc8dc.zip
FreeBSD-src-9b0ffa5c91f10b508092326779ef63e82d6bc8dc.tar.gz
Increase MAXDEV up to 10.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dconschat/dconschat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dconschat/dconschat.c b/usr.sbin/dconschat/dconschat.c
index 40653a1..c3a89db 100644
--- a/usr.sbin/dconschat/dconschat.c
+++ b/usr.sbin/dconschat/dconschat.c
@@ -896,7 +896,7 @@ main(int argc, char **argv)
/* init firewire */
switch (dc->type) {
case TYPE_FW:
-#define MAXDEV 4
+#define MAXDEV 10
for (i = 0; i < MAXDEV; i ++) {
snprintf(devname, sizeof(devname),
"/dev/fwmem%d.%d", unit, i);
OpenPOWER on IntegriCloud