]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib/vsprintf.c
Merge branch 'u-boot/master'
[karo-tx-uboot.git] / lib / vsprintf.c
index 82e5c13653b68d490257a244701966051d05d2fe..60874dae3ebd2a922d45a67e4ea9b8ff49dc3528 100644 (file)
@@ -750,6 +750,7 @@ repeat:
                ADDCH(str, '\0');
                if (str > end)
                        end[-1] = '\0';
+               --str;
        }
 #else
        *str = '\0';