Getting into a doctorate program with B-
Since I am frequently a member on the PhD student admission committee in our math department, I can tell that B- in one class does not really affect the chances. What affects it are recommendation letters and  Summer projects (REUs).
If the letters are not very strong and there was no (Summer) research done, the chances at my department are very small.