Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 14:19:51 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 103445 for review
Message-ID:  <200608081419.k78EJp0R001317@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103445

Change 103445 by rdivacky@rdivacky_witten on 2006/08/08 14:19:26

	More informative messages in a case of em_find returns NULL.

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_misc.c#8 edit
.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_signal.c#3 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_misc.c#8 (text+ko) ====

@@ -1339,7 +1339,7 @@
 
 	if (em == NULL) {
 #ifdef	DEBUG
-		printf(LMSG("emuldata not found.\n"));
+		printf(LMSG("emuldata not found in getpid.\n"));
 #endif
 		return (0);
 	}
@@ -1359,7 +1359,7 @@
 
 	if (em == NULL) {
 #ifdef	DEBUG
-		printf(LMSG("emuldata not found.\n"));
+		printf(LMSG("emuldata for current process not found in getppid.\n"));
 #endif
 		return (0);
 	}
@@ -1383,7 +1383,7 @@
    	   	em = em_find(pp->p_pid, EMUL_LOCKED);
    		if (em == NULL) {
 #ifdef	DEBUG
-			printf(LMSG("emuldata not found.\n"));
+			printf(LMSG("emuldata for parent process not found in getppid.\n"));
 #endif
 			PROC_UNLOCK(pp);
 			return (0);

==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_signal.c#3 (text+ko) ====

@@ -481,7 +481,7 @@
 
 	if (em == NULL) {
 #ifdef DEBUG
-		printf("emuldata not found.\n");
+		printf("emuldata not found in tgkill.\n");
 #endif
 		return ESRCH;
 	}



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