PERFORCE change 103445 for review

Roman Divacky rdivacky at FreeBSD.org
Tue Aug 8 14:20:50 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=103445

Change 103445 by rdivacky at 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;
 	}


More information about the p4-projects mailing list