Considering the confederates propensity for shooting any black Union soldier who tried to surrender out of hand then I doubt many woound up either in slavery or Andersonville. But as soldiers I'm sure they would have preferred Andersonville with their white comrades to bondage.
Oh joy, such comrade ship between the races in the Union Army!