P0171 is "system lean-bank 1", and means your car's computer is having a hard time keeping the mixture right. Right now, it is adding all the fuel it can and still not making it to the correct ratio. This can be caused by a number of factors, but the most common are vacuum leaks in the intake tract, or a failed Mass Airflow Sensor. A decent diagnositic tech should be able to nail the exact cause down pretty quickly.
Trouble code P0171 means:System too lean (Bank 1)
Trouble code P0171 means: System Too Lean (Bank 1)
Trouble code P0171 means:System too lean (Bank 1)
Trouble code P0171 means: System too lean (bank 1)
Trouble code P0171 means: System Too Lean (Bank 1)
Trouble code P0171 means: Fuel Trim System Lean (Bank 1
Trouble code P0171 means:System too lean (bank 1)
Code P0171 means System to lean (bank 1)
Trouble code P0171 means: System too lean (Bank 1)
Trouble code P0171 means:System too lean (Bank 1)
Trouble code P0420 means: Catalyst system efficiency below threshold (bank 1)
Trouble code P0171 means: Bank 1 Combustion Too Lean