summaryrefslogtreecommitdiff
path: root/init/service_utils.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2020-02-04 15:18:29 -0800
committerTom Cherry <tomcherry@google.com>2020-02-05 07:57:14 -0800
commitf8e6bf6d819ae965deed6469bf85a8ea60488741 (patch)
tree2159877648bfbb7f993105e20c08871e52fb0ccb /init/service_utils.cpp
parentc19b08a66ac32053445dd6df9ef7890c898cff09 (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
Diffstat (limited to 'init/service_utils.cpp')
0 files changed, 0 insertions, 0 deletions