]> git.sur5r.net Git - u-boot/blobdiff - lib/vsprintf.c
mmc: sh_mmcif: Fix compile error
[u-boot] / 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';