Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 19:02:01 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        hackers@freebsd.org
Subject:   Trailing newline in panic() calls
Message-ID:  <20010712020202.26A463E31@bazooka.unixfreak.org>

next in thread | raw e-mail | index | archive | help
Hi folks,

There are quite a few places in the kernel where panic(9) is called
with a trailing newline.  E.g.:

	panic("vm_page_free: freeing wired page\n");

That '\n' is redundant, because panic() will print that by itself.  Is
there any reason not to correct these calls?  panic() OpenBSD and
NetBSD also prints a newline for the user, so there are no portability
issues.

					Dima Dorfman
					dima@unixfreak.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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