diff options
author | phk <phk@FreeBSD.org> | 1995-05-08 01:26:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-05-08 01:26:47 +0000 |
commit | dd5b13ab4bedcee82a6b8eb428417e7c75dba703 (patch) | |
tree | 84c87f0536666af5082585beb398e3fba89c0dc8 | |
parent | be72875c5f0b709e23a63a45346e11e16b2eed7f (diff) | |
download | FreeBSD-src-dd5b13ab4bedcee82a6b8eb428417e7c75dba703.zip FreeBSD-src-dd5b13ab4bedcee82a6b8eb428417e7c75dba703.tar.gz |
I bet Jordan is tearing his hair out, trying to figure the previous patch
out... here is the real thing.
-rw-r--r-- | lib/libdisk/create_chunk.c | 4 | ||||
-rw-r--r-- | release/libdisk/create_chunk.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 6b1b1eb..2ce62e9 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -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; diff --git a/release/libdisk/create_chunk.c b/release/libdisk/create_chunk.c index 6b1b1eb..2ce62e9 100644 --- a/release/libdisk/create_chunk.c +++ b/release/libdisk/create_chunk.c @@ -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; |