diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-29 12:13:36 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-29 12:13:36 +0000 |
| commit | 56d3134bfb907d8de0fb4bd6e9e8b386ddc6010e (patch) | |
| tree | bd294afda02938a99937d9c7ff93f81898710561 /lib/libdisk/rules.c | |
| parent | f67b533a2e3c98574354493a010a065ad898a98b (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/rules.c')
| -rw-r--r-- | lib/libdisk/rules.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/libdisk/rules.c b/lib/libdisk/rules.c index a6a2255c852c..87846c999c59 100644 --- a/lib/libdisk/rules.c +++ b/lib/libdisk/rules.c @@ -233,15 +233,18 @@ Rule_004(const struct disk *d, const struct chunk *c, char *msg) static void Check_Chunk(const struct disk *d, const struct chunk *c, char *msg) { - Rule_000(d, c, msg); - Rule_001(d, c, msg); - Rule_002(d, c, msg); - Rule_003(d, c, msg); - Rule_004(d, c, msg); - if (c->part) - Check_Chunk(d, c->part, msg); - if (c->next) - Check_Chunk(d, c->next, msg); + + if (platform == p_i386) { + Rule_000(d, c, msg); + Rule_001(d, c, msg); + Rule_002(d, c, msg); + Rule_003(d, c, msg); + Rule_004(d, c, msg); + if (c->part) + Check_Chunk(d, c->part, msg); + if (c->next) + Check_Chunk(d, c->next, msg); + } } char * |
