[patch 27/56] openmosix/openmosix-copyuser-fix-warning.patch

Florian Delizy <[email protected]> Thu, 02 Nov 2006 22:56:42 +0100
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
openMosix-devel mailing list
openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/openmosix-devel
openmosix-copyuser-fix-warning.patch (text/x-patch, 762 B)
Index: linux/hpc/copyuser.c
===================================================================
--- linux.orig/hpc/copyuser.c	2006-11-02 22:51:55.000000000 +0100
+++ linux/hpc/copyuser.c	2006-11-02 22:52:14.000000000 +0100
@@ -276,6 +276,7 @@
 /**
  * remote_strnlen_from_user - strnlen from user for deputy
  **/
+#if 0
 static int remote_strnlen_user(task_t *p, struct kcom_pkt *pkt)
 {
 	struct omp_usercopy_req u;
@@ -294,6 +295,8 @@
 	return 0;
 }
 
+#endif
+
 /**
  * remote_put_user - put user for deputy
  **/
@@ -414,7 +417,7 @@
 
 	}
 
-	printk(KERN_ERR "openMosix: %s is not supposed to end that way ! (%s:%n)\n"
+	printk(KERN_ERR "openMosix: %s is not supposed to end that way ! (%s:%d)\n"
 	      , __FUNCTION__, __FILE__, __LINE__);
 
 	return -1;