Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2006 17:33:41 GMT
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 108672 for review
Message-ID:  <200610291733.k9THXfIa072047@repoman.freebsd.org>

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

Change 108672 by netchild@netchild_magellan on 2006/10/29 17:32:47

	style(9)
	Noticed by:	rwatson

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#20 edit
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.h#2 edit

Differences ...

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

@@ -1567,8 +1567,8 @@
 
 #ifdef DEBUG
 	if (ldebug(prctl))
-	   	printf(ARGS(prctl, "%d, %d, %d, %d, %d"), args->option, args->arg2,
-		      args->arg3, args->arg4, args->arg5);
+		printf(ARGS(prctl, "%d, %d, %d, %d, %d"), args->option,
+		    args->arg2, args->arg3, args->arg4, args->arg5);
 #endif
    	
    	switch (args->option) {
@@ -1583,7 +1583,9 @@
 	case LINUX_PR_GET_PDEATHSIG:
 		em = em_find(p, EMUL_UNLOCKED);
 		KASSERT(em != NULL, ("prctl: emuldata not found.\n"));
-		error = copyout(&em->pdeath_signal, (void *)(register_t) args->arg2, sizeof(em->pdeath_signal));
+		error = copyout(&em->pdeath_signal,
+			    (void *)(register_t) args->arg2,
+			    sizeof(em->pdeath_signal));
 		EMUL_UNLOCK(&emul_lock);
 		break;
 	case LINUX_PR_SET_NAME:

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

@@ -29,15 +29,15 @@
  */
 
 #ifndef _LINUX_MISC_H_
-#define _LINUX_MISC_H_
+#define	_LINUX_MISC_H_
 
 /* defines for prctl */
-#define LINUX_PR_SET_PDEATHSIG  1  /* Second arg is a signal */
-#define LINUX_PR_GET_PDEATHSIG  2  /* Second arg is a ptr to return the signal */
-#define LINUX_PR_SET_NAME	15 /* Set process name */
-#define LINUX_PR_GET_NAME	16 /* Get process name */
+#define	LINUX_PR_SET_PDEATHSIG  1  /* Second arg is a signal. */
+#define	LINUX_PR_GET_PDEATHSIG  2  /* Second arg is a ptr to return the signal. */
+#define	LINUX_PR_SET_NAME	15 /* Set process name. */
+#define	LINUX_PR_GET_NAME	16 /* Get process name. */
 
-#define LINUX_MAX_COMM_LEN	16 /* max length of the proc name */
+#define	LINUX_MAX_COMM_LEN	16 /* Maximum length of the process name. */
 
 #endif /* _LINUX_MISC_H_ */
 



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