Commit 17b12714 authored by Franco Lanza's avatar Franco Lanza

Invert smp versatilepb check (ouch)

parent f73a5f59
...@@ -331,9 +331,9 @@ static int fork_qemu(const char* hda, const char* hdb, const struct pbuilderconf ...@@ -331,9 +331,9 @@ static int fork_qemu(const char* hda, const char* hdb, const struct pbuilderconf
argv[argc++]="-smp"; argv[argc++]="-smp";
// versatilepb doesn't support more than 1 cpu // versatilepb doesn't support more than 1 cpu
if(!strcmp(machine, "versatilepb")) { if(!strcmp(machine, "versatilepb")) {
argv[argc++]=strdupa(pc->smp); argv[argc++]="1";
} else { } else {
argv[argc++]="1"; argv[argc++]=strdupa(pc->smp);
} }
} }
if (kernel_image && strcmp(kernel_image, "")) if (kernel_image && strcmp(kernel_image, ""))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment