--- func_strings.c.orig 2008-08-15 16:06:59.000000000 +0200 +++ func_strings.c 2008-08-15 16:08:26.000000000 +0200 @@ -539,6 +539,7 @@ } else if (arg.format[i] == '%') { /* Literal data to copy */ *bufptr++ = arg.format[i]; + bufptr[1] = '\0'; } else { /* Not supported */ @@ -559,6 +560,7 @@ } else { /* Literal data to copy */ *bufptr++ = arg.format[i]; + bufptr[1] = '\0'; } } }