SW_FAIL
sw->fail = SW_FAIL; /* Reinitialize */
if (sw->fail < SW_FAIL)
sw->fail = SW_FAIL;
k = SW_FAIL; /* Try SW_FAIL times */