Ack, fix typo in last commit.
This commit is contained in:
parent
8ff4186a6f
commit
e5610c61ba
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* 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
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -307,7 +307,7 @@ deviceGetAll(void)
|
|||||||
close(fd);
|
close(fd);
|
||||||
/* Make associated slice entries */
|
/* Make associated slice entries */
|
||||||
for (s = 1; s < 33; s++) {
|
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);
|
snprintf(slice, sizeof slice, "/dev/%ss%d", unit, s);
|
||||||
d = makedev(device_names[i].major, device_names[i].minor +
|
d = makedev(device_names[i].major, device_names[i].minor +
|
||||||
(j * device_names[i].delta) + (s * SLICE_DELTA));
|
(j * device_names[i].delta) + (s * SLICE_DELTA));
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* 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
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -307,7 +307,7 @@ deviceGetAll(void)
|
|||||||
close(fd);
|
close(fd);
|
||||||
/* Make associated slice entries */
|
/* Make associated slice entries */
|
||||||
for (s = 1; s < 33; s++) {
|
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);
|
snprintf(slice, sizeof slice, "/dev/%ss%d", unit, s);
|
||||||
d = makedev(device_names[i].major, device_names[i].minor +
|
d = makedev(device_names[i].major, device_names[i].minor +
|
||||||
(j * device_names[i].delta) + (s * SLICE_DELTA));
|
(j * device_names[i].delta) + (s * SLICE_DELTA));
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* 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
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -307,7 +307,7 @@ deviceGetAll(void)
|
|||||||
close(fd);
|
close(fd);
|
||||||
/* Make associated slice entries */
|
/* Make associated slice entries */
|
||||||
for (s = 1; s < 33; s++) {
|
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);
|
snprintf(slice, sizeof slice, "/dev/%ss%d", unit, s);
|
||||||
d = makedev(device_names[i].major, device_names[i].minor +
|
d = makedev(device_names[i].major, device_names[i].minor +
|
||||||
(j * device_names[i].delta) + (s * SLICE_DELTA));
|
(j * device_names[i].delta) + (s * SLICE_DELTA));
|
||||||
|
Loading…
Reference in New Issue
Block a user