Validate a format string. In this application a format string should contain % exactly once, followed by s (i.e. s).
%
s
Throws RuntimeError if the provided string is invalid.
Definition at line 435 of file pism_utilities.cc.
References pism::RuntimeError::formatted(), and PISM_ERROR_LOCATION.