D in class

The Cal states require you pass your A-G courses with a C or higher to maintain your provisional admission. It would talk with your GC and have them contact admissions to see what optipns you may have. Most schools are not willing to rescind applicants, so you may just need to retake or get your 2nd semester grade (if it is a year long course) up to a C. Be proactive and do something now before you have no other options after graduation.