mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 15:48:48 -04:00
I bet Jordan is tearing his hair out, trying to figure the previous patch
out... here is the real thing.
This commit is contained in:
parent
65a27a9ba4
commit
c0b8ca15f5
2 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: create_chunk.c,v 1.10 1995/05/06 03:28:28 phk Exp $
|
||||
* $Id: create_chunk.c,v 1.11 1995/05/08 00:44:46 phk Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ Fixup_FreeBSD_Names(struct disk *d, struct chunk *c)
|
|||
|
||||
/* Try to give them the same as they had before */
|
||||
for (c1 = c->part; c1 ; c1 = c1->next) {
|
||||
if (!strcmp(c->name,"X")) continue;
|
||||
if (strcmp(c1->name,"X")) continue;
|
||||
for(c3 = c->part; c3 ; c3 = c3->next)
|
||||
if (c1 != c3 && !strcmp(c3->name, c1->oname)) {
|
||||
goto newname;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: create_chunk.c,v 1.10 1995/05/06 03:28:28 phk Exp $
|
||||
* $Id: create_chunk.c,v 1.11 1995/05/08 00:44:46 phk Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ Fixup_FreeBSD_Names(struct disk *d, struct chunk *c)
|
|||
|
||||
/* Try to give them the same as they had before */
|
||||
for (c1 = c->part; c1 ; c1 = c1->next) {
|
||||
if (!strcmp(c->name,"X")) continue;
|
||||
if (strcmp(c1->name,"X")) continue;
|
||||
for(c3 = c->part; c3 ; c3 = c3->next)
|
||||
if (c1 != c3 && !strcmp(c3->name, c1->oname)) {
|
||||
goto newname;
|
||||
|
|
|
|||
Loading…
Reference in a new issue