summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-03-20 18:26:04 +0000
committerjkh <jkh@FreeBSD.org>1998-03-20 18:26:04 +0000
commit47d83890252be97151323b157576462da1bd4da9 (patch)
tree42d3e61924ac161963c5e813f893f00fdae5d9fc
parente72a0d1082c4912ecce3cbea4c55a4e86b8e7904 (diff)
downloadFreeBSD-src-47d83890252be97151323b157576462da1bd4da9.zip
FreeBSD-src-47d83890252be97151323b157576462da1bd4da9.tar.gz
Ack, fix typo in last commit.
-rw-r--r--release/sysinstall/devices.c4
-rw-r--r--usr.sbin/sade/devices.c4
-rw-r--r--usr.sbin/sysinstall/devices.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c
index 1bd84e9..4f9d5ce 100644
--- a/release/sysinstall/devices.c
+++ b/release/sysinstall/devices.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: devices.c,v 1.72 1998/03/16 14:33:18 jkh Exp $
+ * $Id: devices.c,v 1.73 1998/03/20 18:07:02 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -307,7 +307,7 @@ skipif:
close(fd);
/* Make associated slice entries */
for (s = 1; s < 33; s++) {
- snprintf(unit, sizeof unit, device_names[i].name, i);
+ snprintf(unit, sizeof unit, device_names[i].name, j);
snprintf(slice, sizeof slice, "/dev/%ss%d", unit, s);
d = makedev(device_names[i].major, device_names[i].minor +
(j * device_names[i].delta) + (s * SLICE_DELTA));
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c
index 1bd84e9..4f9d5ce 100644
--- a/usr.sbin/sade/devices.c
+++ b/usr.sbin/sade/devices.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: devices.c,v 1.72 1998/03/16 14:33:18 jkh Exp $
+ * $Id: devices.c,v 1.73 1998/03/20 18:07:02 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -307,7 +307,7 @@ skipif:
close(fd);
/* Make associated slice entries */
for (s = 1; s < 33; s++) {
- snprintf(unit, sizeof unit, device_names[i].name, i);
+ snprintf(unit, sizeof unit, device_names[i].name, j);
snprintf(slice, sizeof slice, "/dev/%ss%d", unit, s);
d = makedev(device_names[i].major, device_names[i].minor +
(j * device_names[i].delta) + (s * SLICE_DELTA));
diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c
index 1bd84e9..4f9d5ce 100644
--- a/usr.sbin/sysinstall/devices.c
+++ b/usr.sbin/sysinstall/devices.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: devices.c,v 1.72 1998/03/16 14:33:18 jkh Exp $
+ * $Id: devices.c,v 1.73 1998/03/20 18:07:02 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -307,7 +307,7 @@ skipif:
close(fd);
/* Make associated slice entries */
for (s = 1; s < 33; s++) {
- snprintf(unit, sizeof unit, device_names[i].name, i);
+ snprintf(unit, sizeof unit, device_names[i].name, j);
snprintf(slice, sizeof slice, "/dev/%ss%d", unit, s);
d = makedev(device_names[i].major, device_names[i].minor +
(j * device_names[i].delta) + (s * SLICE_DELTA));
OpenPOWER on IntegriCloud