Sunderland boss Martin O'Neill has revealed that James McFadden is about to sign a short-term deal with the club.