Multi-choice problem: does word "light" have the same meaning in the following two sentences?

Do you have a light?

Hey, buddy, you got a light?

(1). different meanings (2). the same meaning
(2).