linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Extraneous \n's in dbg(), info(), err()
@ 2009-07-23  1:00 Philip A. Prindeville
  2009-07-23  1:09 ` Kay Sievers
  2009-07-23  1:12 ` Philip A. Prindeville
  0 siblings, 2 replies; 3+ messages in thread
From: Philip A. Prindeville @ 2009-07-23  1:00 UTC (permalink / raw)
  To: linux-hotplug

Can these be removed?  syslog() already appends a newline.  Having one
in the message just causes duplication.

Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Extraneous \n's in dbg(), info(), err()
  2009-07-23  1:00 Extraneous \n's in dbg(), info(), err() Philip A. Prindeville
@ 2009-07-23  1:09 ` Kay Sievers
  2009-07-23  1:12 ` Philip A. Prindeville
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2009-07-23  1:09 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Jul 23, 2009 at 03:00, Philip A.
Prindeville<philipp@redfish-solutions.com> wrote:
> Can these be removed?  syslog() already appends a newline.  Having one
> in the message just causes duplication.

Syslog usually takes care of that not to put out two newlines:
  syslog(3) "A trailing newline may be added if needed."

What syslog is that? It may just need to be fixed.

Kay

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Extraneous \n's in dbg(), info(), err()
  2009-07-23  1:00 Extraneous \n's in dbg(), info(), err() Philip A. Prindeville
  2009-07-23  1:09 ` Kay Sievers
@ 2009-07-23  1:12 ` Philip A. Prindeville
  1 sibling, 0 replies; 3+ messages in thread
From: Philip A. Prindeville @ 2009-07-23  1:12 UTC (permalink / raw)
  To: linux-hotplug

Kay Sievers wrote:
> On Thu, Jul 23, 2009 at 03:00, Philip A.
> Prindeville<philipp@redfish-solutions.com> wrote:
>   
>> Can these be removed?  syslog() already appends a newline.  Having one
>> in the message just causes duplication.
>>     
>
> Syslog usually takes care of that not to put out two newlines:
>   syslog(3) "A trailing newline may be added if needed."
>
> What syslog is that? It may just need to be fixed.
>
> Kay
>   

It's the syslog that comes in busybox-1.12.4.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-23  1:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23  1:00 Extraneous \n's in dbg(), info(), err() Philip A. Prindeville
2009-07-23  1:09 ` Kay Sievers
2009-07-23  1:12 ` Philip A. Prindeville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).