diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-05-09 14:37:42 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2019-05-13 20:23:28 +0300 |
commit | 23fbc19d5de3042248b05d73d1093d41058b3694 (patch) | |
tree | 0ffaaae5caa637a729603445d39b5c2697b8ae36 /android | |
parent | b406f28746e747ee7d739970a00e3aa0963b3e88 (diff) | |
download | bluez-23fbc19d5de3042248b05d73d1093d41058b3694.tar.gz |
tools/csr_usb: Fix compilation failure
GCC's "format-nonliteral" security check is enabled as an error in
recent versions of Fedora. Given the limited formats, pass a boolean
to switch between the 2 different formats.
tools/csr_usb.c: In function 'read_value':
tools/csr_usb.c:82:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
n = fscanf(file, format, &value);
^
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions