If the cop is fair he will give you a correction ticket, means you have to take it to the dmv and show them you corrected the discrepancy. At least thats what i got when my tail lights were too dark, if its not corrected by a certain date then you get a fine.
I also got a unsafe equipment...