Merge tag 'docs-4.20' of git://git.lwn.net/linux
[linux-2.6-microblaze.git] / lib / vsprintf.c
index c800510..376de10 100644 (file)
@@ -2792,7 +2792,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)