*** ../linux/kernel/printk.c	Mon Aug 26 14:37:42 2002
--- linux/kernel/printk.c	Sun Sep 28 21:30:29 2003
***************
*** 113,119 ****
  		strcpy(name, "ttyS");
  		strncpy(name + 4, str, sizeof(name) - 5);
  	} else
! 		strncpy(name, str, sizeof(name) - 1);
  	name[sizeof(name) - 1] = 0;
  	if ((options = strchr(str, ',')) != NULL)
  		*(options++) = 0;
--- 113,119 ----
  		strcpy(name, "ttyS");
  		strncpy(name + 4, str, sizeof(name) - 5);
  	} else
! 		strcpy(name, "tty0");
  	name[sizeof(name) - 1] = 0;
  	if ((options = strchr(str, ',')) != NULL)
  		*(options++) = 0;
