Ack, fix typo in last commit.
This commit is contained in:
parent
8ff4186a6f
commit
e5610c61ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34717
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user