rem: sprintf(buf, "\t%s: %s\n", Myname, str);
add: snprintf(buf, sizeof(buf), "\t%s: %s\n", Myname, str);
context: static void std_err (const char *str){   static char buf[SMLBUFSIZ];   fflush(stdout);   /* we'll use our own buffer so callers can still use fmtmk() and, yes the      leading tab is not the standard convention, but the standard is wrong      -- OUR msg won't get lost in screen clutter, like so many others! */   sprintf(buf, "\t%s: %s\n", Myname, str);   if (!Ttychanged) {      fprintf(stderr, buf);      exit(1);   }      /* not to worry, he'll change our exit code to 1 due to 'buf' */   bye_bye(0, buf);}