Re: [PATCH 6/6] submodule--helper: introduce new update-module-mode helper
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Jul 18, 2018, 15:00 UTC
- Message-ID
- <e5366f75-3669-bfbb-2561-ee06751b923d@gmail.com>
- In-Reply-To
- <20180712194754.71979-7-sbeller@google.com>
On 7/12/2018 3:47 PM, Stefan Beller wrote:
> + fprintf(stdout, submodule_strategy_to_string(&update_strategy));
This line is causing build failures on 'pu' for certain setups:
2018-07-18T14:53:03.6857987Z builtin/submodule--helper.c: In function ‘module_update_module_mode’: 2018-07-18T14:53:03.6874886Z builtin/submodule--helper.c:1504:2: error: format not a string literal and no format arguments [-Werror=format-security] 2018-07-18T14:53:03.6890814Z fprintf(stdout, submodule_strategy_to_string(&update_strategy)); 2018-07-18T14:53:03.6905905Z ^
Thanks,
-Stolee