mux_generic: add missing return value check