PERFORCE change 107880 for review

Roman Divacky rdivacky at FreeBSD.org
Sat Oct 14 03:53:14 PDT 2006


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

Change 107880 by rdivacky at rdivacky_witten on 2006/10/14 10:52:34

	Return EINVAL for not implemented options.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#11 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#11 (text+ko) ====

@@ -1584,6 +1584,9 @@
 		case LINUX_PR_GET_NAME:
 			error = copyout(&p->p_comm, (void *) args->arg2, MAXCOMLEN+1);
 			break;
+		default:
+			error = EINVAL;
+			break;
 	}
 
 	return (error);


More information about the p4-projects mailing list