From cf96d30a9f62e7d85664f72dbdbe1ca4f7da3cfb Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 23 Sep 2016 14:16:32 +0000 Subject: [PATCH] Trailing whitespace --- sys/compat/netbsd32/netbsd32.h | 4 ++-- sys/compat/netbsd32/netbsd32_time.c | 10 +++++----- sys/kern/kern_exit.c | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sys/compat/netbsd32/netbsd32.h b/sys/compat/netbsd32/netbsd32.h index ddf70c691d93..8113333d3395 100644 --- a/sys/compat/netbsd32/netbsd32.h +++ b/sys/compat/netbsd32/netbsd32.h @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32.h,v 1.111 2016/09/23 14:12:00 skrll Exp $ */ +/* $NetBSD: netbsd32.h,v 1.112 2016/09/23 14:16:32 skrll Exp $ */ /* * Copyright (c) 1998, 2001, 2008, 2015 Matthew R. Green @@ -276,7 +276,7 @@ struct netbsd32_export_args30 { int ex_addrlen; /* and the net address length */ netbsd32_pointer_t ex_mask; /* mask of valid bits in saddr */ int ex_masklen; /* and the smask length */ - netbsd32_charp ex_indexfile; /* index file for WebNFS URLs */ + netbsd32_charp ex_indexfile; /* index file for WebNFS URLs */ }; /* from */ diff --git a/sys/compat/netbsd32/netbsd32_time.c b/sys/compat/netbsd32/netbsd32_time.c index 807dee03a9eb..192923a16e99 100644 --- a/sys/compat/netbsd32/netbsd32_time.c +++ b/sys/compat/netbsd32/netbsd32_time.c @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_time.c,v 1.47 2016/09/23 14:09:39 skrll Exp $ */ +/* $NetBSD: netbsd32_time.c,v 1.48 2016/09/23 14:16:32 skrll Exp $ */ /* * Copyright (c) 1998, 2001 Matthew R. Green @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.47 2016/09/23 14:09:39 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.48 2016/09/23 14:16:32 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_ntp.h" @@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.47 2016/09/23 14:09:39 skrll Exp #ifdef NTP int -netbsd32___ntp_gettime50(struct lwp *l, +netbsd32___ntp_gettime50(struct lwp *l, const struct netbsd32___ntp_gettime50_args *uap, register_t *retval) { /* { @@ -83,7 +83,7 @@ netbsd32___ntp_gettime50(struct lwp *l, #ifdef COMPAT_50 int -compat_50_netbsd32_ntp_gettime(struct lwp *l, +compat_50_netbsd32_ntp_gettime(struct lwp *l, const struct compat_50_netbsd32_ntp_gettime_args *uap, register_t *retval) { /* { @@ -327,7 +327,7 @@ netbsd32___adjtime50(struct lwp *l, const struct netbsd32___adjtime50_args *uap, if (error) return (error); } - + if (SCARG_P32(uap, delta)) { error = copyin(SCARG_P32(uap, delta), &atv, sizeof(atv)); if (error) diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 02538e4057a7..8e34adda51f6 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_exit.c,v 1.259 2016/09/23 14:09:39 skrll Exp $ */ +/* $NetBSD: kern_exit.c,v 1.260 2016/09/23 14:16:44 skrll Exp $ */ /*- * Copyright (c) 1998, 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -67,7 +67,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.259 2016/09/23 14:09:39 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.260 2016/09/23 14:16:44 skrll Exp $"); #include "opt_ktrace.h" #include "opt_dtrace.h" @@ -658,7 +658,7 @@ do_sys_waitid(idtype_t idtype, id_t id, int *pid, int *status, int options, proc_t *child; int error; - + if (wru != NULL) memset(wru, 0, sizeof(*wru)); if (si != NULL) @@ -793,7 +793,7 @@ sys_wait6(struct lwp *l, const struct sys_wait6_args *uap, register_t *retval) retval[0] = pid; /* tell userland who it was */ #if 0 - /* + /* * should we copyout if there was no process, hence no useful data? * We don't for an old sytle wait4() (etc) but I believe * FreeBSD does for wait6(), so a tossup... Go with FreeBSD for now. @@ -1036,7 +1036,7 @@ find_stopped_child(struct proc *parent, idtype_t idtype, id_t id, int options, } if (si) { si->si_status = child->p_xsig; - si->si_code = + si->si_code = (child->p_slflag & PSL_TRACED) ? CLD_TRAPPED : CLD_STOPPED; } @@ -1131,7 +1131,7 @@ proc_free(struct proc *p, struct wrusage *wru) p->p_xexit = 0; /* - * At this point we are going to start freeing the final resources. + * At this point we are going to start freeing the final resources. * If anyone tries to access the proc structure after here they will * get a shock - bits are missing. Attempt to make it hard! We * don't bother with any further locking past this point.