Add __attribute__((format(printf, a, b))) to printf like functions.

Fix potential string format bug.

Change-Id: Ie05aac53b2c45a48bd68e340b76ccb21edfd28b7
2 files changed