Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 10:36:00 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313804 - head/sys/compat/linux
Message-ID:  <201702161036.v1GAa06N063880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Thu Feb 16 10:36:00 2017
New Revision: 313804
URL: https://svnweb.freebsd.org/changeset/base/313804

Log:
  Improve debugging output.
  
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/compat/linux/linux.c

Modified: head/sys/compat/linux/linux.c
==============================================================================
--- head/sys/compat/linux/linux.c	Thu Feb 16 09:19:29 2017	(r313803)
+++ head/sys/compat/linux/linux.c	Thu Feb 16 10:36:00 2017	(r313804)
@@ -128,7 +128,7 @@ int
 linux_to_bsd_signal(int sig)
 {
 
-	KASSERT(sig > 0 && sig <= LINUX_SIGRTMAX, ("Invalid Linux signal\n"));
+	KASSERT(sig > 0 && sig <= LINUX_SIGRTMAX, ("invalid Linux signal %d\n", sig));
 
 	if (sig < LINUX_SIGRTMIN)
 		return (linux_to_bsd_sigtbl[_SIG_IDX(sig)]);



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