Error handling patch for etxack.c.