os: log: vpnprintf(): ignore reverse justification modifier
The only caller is libinput, and we don't really need it, just silencing bug message. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
c24372893b
commit
4036b8c163
4
os/log.c
4
os/log.c
|
@ -410,6 +410,10 @@ vpnprintf(char *string, int size_in, const char *f, va_list args)
|
||||||
|
|
||||||
f_idx++;
|
f_idx++;
|
||||||
|
|
||||||
|
/* silently ignore reverse justification */
|
||||||
|
if (f[f_idx] == '-')
|
||||||
|
f_idx++;
|
||||||
|
|
||||||
/* silently swallow minimum field width */
|
/* silently swallow minimum field width */
|
||||||
if (f[f_idx] == '*') {
|
if (f[f_idx] == '*') {
|
||||||
f_idx++;
|
f_idx++;
|
||||||
|
|
Loading…
Reference in New Issue