diff options
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r-- | lib/vsprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index d5b3a3f95c01..812e59e13fe6 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -2794,7 +2794,7 @@ int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf) | |||
2794 | copy = end - str; | 2794 | copy = end - str; |
2795 | memcpy(str, args, copy); | 2795 | memcpy(str, args, copy); |
2796 | str += len; | 2796 | str += len; |
2797 | args += len; | 2797 | args += len + 1; |
2798 | } | 2798 | } |
2799 | } | 2799 | } |
2800 | if (process) | 2800 | if (process) |