commit | f8e6bf6d819ae965deed6469bf85a8ea60488741 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Feb 04 15:18:29 2020 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Wed Feb 05 07:57:14 2020 -0800 |
tree | 2159877648bfbb7f993105e20c08871e52fb0ccb | |
parent | c19b08a66ac32053445dd6df9ef7890c898cff09 [diff] |
Check Errorf()/ErrnoErrorf() format string at compile time fmtlib provides compile time checking of format strings that we're not currently using. This change makes Errorf() and ErrnoErrorf() into macros such that we can take advantage of this capability. Test: build successfully normally Test: fail the build if using an invalid format string Change-Id: Icb8ba8cb973bbd1fa4755a62e7598bdbb0113757