fix chan0<->chan1 confusion

This commit is contained in:
Alexandre Ratchov 2015-03-06 16:13:03 +01:00
parent a58ea0effe
commit 40ef765533
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ cmpdesc(struct siomix_desc *d1, struct siomix_desc *d2)
res = strcmp(d1->chan1.str, d2->chan1.str);
if (res != 0)
return res;
res = strcmp(d1->chan1.opt, d2->chan0.opt);
res = strcmp(d1->chan1.opt, d2->chan1.opt);
}
return res;
}