GM is recalling some of its compact pickup trucks.

While a lot of attention has been placed on General Motors' full-size pickup trucks lately - the Chevrolet Silverado and the GMC Sierra - the Detroit-based automaker is having a safety issue with its other pickup offerings.

General Motors on Thursday announced the recall of certain 2010-2012 model year Chevrolet Colorado and GMC Canyon pickup trucks. The recall covers trucks built between November 9, 2009, and August 28, 2012.

According to the National Highway Traffic Safety Administration, some Colorado and Canyon models may be missing a secondary hood latch. Due to that omission, if the primary hood latch is not secured, the hood could open unexpectedly, potentially blocking the driver's view. If that were to happen, it could increase the likelihood of a crash.

GM dealers will inspect the trucks for a secondary hood latch, attaching new units where necessary. The recall campaign, which includes a total of 118,800 vehicles, is scheduled to begin on January 17.