libarmbox/video.cpp: fix possible broken build

possible error:

"error: '0' flag ignored with precision and '%X' gnu_printf format [-Werror=format=]"


Origin commit data
------------------
Branch: master
Commit: 2a5d3d23f2
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-10-05 (Fri, 05 Oct 2018)



------------------
This commit was generated by Migit
This commit is contained in:
2018-10-05 13:58:11 +02:00
parent 40df3accd7
commit 18b80cfebe

View File

@@ -847,7 +847,7 @@ void cVideo::SetControl(int control, int value)
if (p) {
char buf[20];
int fix_value = value * 256;
int len = snprintf(buf, sizeof(buf), "%0.8X", fix_value);
int len = snprintf(buf, sizeof(buf), "%.8X", fix_value);
if (len < (int) sizeof(buf))
proc_put(p, buf, len);
}