From e5610c61ba9ba0b5b6bf56e819f8d21e5ff6dbac Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 20 Mar 1998 18:26:04 +0000 Subject: [PATCH] Ack, fix typo in last commit. --- release/sysinstall/devices.c | 4 ++-- usr.sbin/sade/devices.c | 4 ++-- usr.sbin/sysinstall/devices.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c index 1bd84e9a6a46..4f9d5cea618a 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 @@ deviceGetAll(void) 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 1bd84e9a6a46..4f9d5cea618a 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 @@ deviceGetAll(void) 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 1bd84e9a6a46..4f9d5cea618a 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 @@ deviceGetAll(void) 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));