Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2008 21:48:05 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_prf.c
Message-ID:  <200812102148.mBALmCwn096056@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2008-12-10 21:48:05 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_prf.c 
  Log:
  SVN rev 185891 on 2008-12-10 21:48:05Z by ed
  
  Remove added newlines from logged messages written to /dev/console.
  
  The /dev/console device node logs all strings that are written to it.
  When the string does not contain a trailing newline, it appends one. I
  can imagine this was useful a long time ago, but with our current
  rc-scripts, it generates a whole bunch of messages that look like:
  
  | Configuring syscons:
  |  blanktime
  | .
  
  By not appending the newlines, the output of `dmesg -a' is now (almost?)
  exactly the same as what the user will see on the console device
  (syscons, uart).
  
  Revision  Changes    Path
  1.133     +2 -10     src/sys/kern/subr_prf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812102148.mBALmCwn096056>