author: Steven Rostedt (VMware) <rostedt@goodmis.org> 2018-10-05 10:08:03 -0400
committer: Steven Rostedt (VMware) <rostedt@goodmis.org> 2018-10-05 10:17:15 -0400
commit: 62165600ae73ebd76e2d9b992b36360408d570d8
parent: 6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
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)
copy = end - str;
memcpy(str, args, copy);
str += len;
- args += len;
+ args += len + 1;
}
}
if (process)