diff -Naurp spim-7.2.1.ucb.orig/CPU/string-stream.c spim-7.2.1.ucb/CPU/string-stream.c --- spim-7.2.1.ucb.orig/CPU/string-stream.c 2005-08-28 13:58:13.000000000 -0700 +++ spim-7.2.1.ucb/CPU/string-stream.c 2005-10-04 22:32:37.338885592 -0700 @@ -119,6 +119,9 @@ ss_printf (str_stream* ss, char* fmt, .. free_space = ss->max_length - ss->empty_pos; if (NULL == ss->buf) fatal_error ("realloc failed\n"); + + va_end (args); + va_start (args, fmt); } ss->empty_pos += n;