[x86] grub: Natively build grub only on x86 linux hosts, cross compile everywhere...
[openwrt.git] / package / admswconfig / patches / 001-matrix.patch
1 --- admswconfig-0.1.orig/admswconfig.c 2007-05-30 12:55:35.000000000 +0200
2 +++ admswconfig-0.1/admswconfig.c 2007-07-24 19:22:14.000000000 +0200
3 @@ -111,9 +111,9 @@
4 }
5 } else {
6 /* display matrix */
7 - printf("ethX\tport0\tport1\tport2\tport3\tport4");
8 - if (info.ports == 6)
9 - printf("\tport5");
10 + printf("ethX");
11 + for (i = 0; i < info.ports; i++)
12 + printf("\tport%d", i);
13 printf("\tCPU\n");
14 for (i = 0; i < info.ports; i++) {
15 printf("%d", i);
This page took 0.05581 seconds and 5 git commands to generate.