Well if you can post up what the code was that might help some. Typically, for the gas cap you'll see something about the EVAP system, probably code P0441 I believe.