summaryrefslogtreecommitdiffstats
path: root/print_wiki.c
diff options
context:
space:
mode:
Diffstat (limited to 'print_wiki.c')
-rw-r--r--print_wiki.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print_wiki.c b/print_wiki.c
index 6e1aec3..b85bf19 100644
--- a/print_wiki.c
+++ b/print_wiki.c
@@ -145,9 +145,9 @@ static void wiki_helper(const char *devicetype, int cols,
color = !color;
k = 0;
- while ((b[k].vendor_name != NULL)
- && strcmp(b[k].vendor_name, boards[i].vendor)
- && strcmp(b[k].board_name, boards[i].name)) {
+ while ((b[k].vendor_name != NULL) &&
+ (strcmp(b[k].vendor_name, boards[i].vendor) ||
+ strcmp(b[k].board_name, boards[i].name))) {
k++;
}
OpenPOWER on IntegriCloud